Date: Sat, 7 Dec 2013 12:48:22 -0500 From: Derek Tattersall <dlt@mebtel.net> To: Michael Gmelin <freebsd@grem.de> Cc: freebsd-ports@freebsd.org Subject: Re: pkg error messages Message-ID: <20131207174822.GB2318@oriental.arm.org> In-Reply-To: <20131207173719.285f98c4@bsd64.grem.de> References: <20131207014604.GA77351@oriental.arm.org> <20131207133805.2390c8cc@bsd64.grem.de> <20131207161019.GA1896@oriental.arm.org> <20131207173719.285f98c4@bsd64.grem.de>
next in thread | previous in thread | raw e-mail | index | archive | help
* Michael Gmelin <freebsd@grem.de> [131207 12:41]: > On Sat, 7 Dec 2013 11:10:19 -0500 > Derek Tattersall <dlt@mebtel.net> wrote: > > > * Michael Gmelin <freebsd@grem.de> [131207 08:16]: > > > On Fri, 6 Dec 2013 20:46:04 -0500 > > > Derek Tattersall <dlt@mebtel.net> 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 Thanks for all your help. Between you and Brian Drewry, I was able to properly configure pkg. Thanks again to you both. -- Best regards, Derek Tattersall dlt@mebtel.net dlt666@yahoo.com dtatters@gmail.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131207174822.GB2318>