On Sat, 7 Dec 2013 11:10:19 -0500 Derek Tattersall <[email protected]> wrote:
> * Michael Gmelin <[email protected]> [131207 08:16]: > > On Fri, 6 Dec 2013 20:46:04 -0500 > > Derek Tattersall <[email protected]> wrote: > > > > > I have a 9STABLE server, amd64, with pkg 1.2.1. > > > When doing a pkg search or pkg update, I get the following > > > messages > > > > > > pkg: Error loading trusted certificates > > > pkg: Unable to find catalogs > > > > > > How do I correct this problem? > > > > > > > Can you post the output of: > > > > find /usr/local/etc/pkg > > find /usr/share/keys/pkg > > cat /usr/local/etc/pkg/repos/* > > > > -- > > Michael Gmelin > > [dlt@lorne:2210:~]$ find /usr/local/etc/pkg > /usr/local/etc/pkg > /usr/local/etc/pkg/repos > /usr/local/etc/pkg/repos/FreeBSD.conf > /usr/local/etc/pkg/repos/FreeBSD.conf.orig > [dlt@lorne:2211:~]$ find /usr/share/keys/pkg > gfind: '/usr/share/keys/pkg': No such file or directory > [dlt@lorne:2212:~]$ cat /usr/local/etc/pkg/repos/* > # $FreeBSD: head/etc/pkg/FreeBSD.conf 258227 2013-11-16 15:54:46Z > bapt $ FreeBSD: { > url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest", > mirror_type: "srv", > signature_type: "fingerprints", > fingerprints: /usr/share/keys/pkg, > enabled: true > } > FreeBSD: { > url: "pkg+http://pkg.us-east.FreeBSD.org/${ABI}/latest", > mirror_type: "srv", > enabled: "yes" > } > Thanks for looking into this. There certainly seems to be some > missing stuff. Hi Derek, you're missing the keys in /usr/share/keys/pkg, those have been added to FreeBSD fairly recently. You have two options, either download the keys manually and install them on your syste,, e.g. from http://svnweb.FreeBSD.org/base/head/share/keys/pkg or alternatively comment on the lines starting with "signature_type" and "fingerprints" in usr/local/etc/pkg/repos/FreeBSD.conf (in which case pkg won't check the digital signature of packages when fetching them from pkgsite). -- Michael Gmelin _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[email protected]"
