From owner-freebsd-stable@FreeBSD.ORG Fri Feb 14 09:16:26 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 054E733A for ; Fri, 14 Feb 2014 09:16:26 +0000 (UTC) Received: from emailsecure.uni-linz.ac.at (emailsecure.uni-linz.ac.at [140.78.3.66]) by mx1.freebsd.org (Postfix) with ESMTP id 85C92115A for ; Fri, 14 Feb 2014 09:16:25 +0000 (UTC) Received: from dyn-ant66.edvz.uni-linz.ac.at (dyn-ant66.edvz.uni-linz.ac.at [140.78.6.66]) by emailsecure.uni-linz.ac.at (Postfix) with ESMTPSA id 566655C01F for ; Fri, 14 Feb 2014 10:06:43 +0100 (CET) From: Ferdinand Goldmann Subject: pkg: Error loading trusted certificates Message-Id: <95CFCCEF-05A1-4C59-B4E0-3C8B459A38C8@jku.at> Date: Fri, 14 Feb 2014 10:06:42 +0100 To: freebsd-stable@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) X-Mailer: Apple Mail (2.1510) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.17 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Feb 2014 09:16:26 -0000 Hello, tried to migrate a FreeBSD 9.1-RELEASE-p10 system from old pkg-tools to = pkgng according to the instructions here: http://www2.at.freebsd.org/doc/handbook/pkgng-intro.html I manually had to add /etc/pkg/FreeBSD.conf: # cat /etc/pkg/FreeBSD.conf=20 # $FreeBSD: release/10.0.0/etc/pkg/FreeBSD.conf 258710 2013-11-28 = 14:24:26Z gjb $ FreeBSD: { url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", mirror_type: "srv", signature_type: "fingerprints", fingerprints: "/usr/share/keys/pkg", enabled: yes } After that I added a key: # cat /usr/share/keys/pkg/trusted=20 # $FreeBSD: = releng/10.0/share/keys/pkg/trusted/pkg.freebsd.org.2013102301 260609 = 2014-01-13 22:15:57Z bdrewery $ function: "sha256" fingerprint: = "b0170035af3acc5f3f3ae1859dc717101b4e6c1d0a794ad554928ca0cbb2f438" However, running pkg update failed: # pkg update =20 Updating repository catalogue digests.txz = 100% 1096KB 1.1MB/s 1.1MB/s 00:01 =20 pkg: Error loading trusted certificates pkg: Unable to find catalogs Only when I commented out signature_type and fingerprints in = /etc/pkg/FreeBSD.conf pkg update ran without errors. I guess this might be due to the fact that the key is meant to be used = on FreeBSD 10.0 instead of FreeBSD 9.1 ? Can anybody tell me where to find a key for FreeBSD 9 ? Unfortuneately, = the handbook does not mention the upgrade process at all. :-( Best regards, Ferdinand=