pkg error messages

Derek Tattersall dlt at mebtel.net
Sat Dec 7 17:01:59 UTC 2013


* Michael Gmelin <freebsd at grem.de> [131207 08:16]:
> On Fri, 6 Dec 2013 20:46:04 -0500
> Derek Tattersall <dlt at 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 at 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 at lorne:2211:~]$ find /usr/share/keys/pkg
gfind: '/usr/share/keys/pkg': No such file or directory
[dlt at 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.
-- 
Best regards,
Derek Tattersall
dlt at mebtel.net		dlt666 at yahoo.com		 dtatters at gmail.com


More information about the freebsd-ports mailing list