Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2014 10:06:42 +0100
From:      Ferdinand Goldmann <ferdinand.goldmann@jku.at>
To:        freebsd-stable@freebsd.org
Subject:   pkg: Error loading trusted certificates
Message-ID:  <95CFCCEF-05A1-4C59-B4E0-3C8B459A38C8@jku.at>

next in thread | raw e-mail | index | archive | help
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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?95CFCCEF-05A1-4C59-B4E0-3C8B459A38C8>