New pkg error: "No signature" & "Unable to find catalogs"

Baptiste Daroussin bapt at FreeBSD.org
Sat Nov 30 11:14:16 UTC 2013


On Fri, Nov 29, 2013 at 09:08:56PM -0800, Beeblebrox wrote:
> I have 2 repos enabled: FreeBSD and myrepo (poudriere). Trying to upgrade has
> started giving new error:
> pkg upgrade
> Updating repository catalogue
> digests.txz                                  100%  946KB 135.2KB/s 106.4KB/s  
> 00:07    
> pkg: No signature found
> pkg: Unable to find catalogs
> 
> I don't need a signature for myrepo and as seen above, only one catalog gets
> updated to PKG_CACHEDIR
> 
> * pkg.conf.sample copied to pkg.conf (default settings not changed)
> * FreeBSD repo settings:
> pub: {
> url: "pkg+http://pkg.eu.freebsd.org/${ABI}/latest",
> mirror_type: "srv"
> signature_type: "FINGERPRINTS",
> fingerprints: "/usr/share/keys/pkg",
> enabled: yes
> }
> * myrepo settings:
> myrepo: {
> url: "file:///asp/poudriere/data/packages/11amd-default",
> mirror_type: "srv"
> enabled: yes
> }
> 
> 
> 
> 
> -----
> FreeBSD-11-current_amd64_root-on-zfs_RadeonKMS
> --
> View this message in context: http://freebsd.1045724.n5.nabble.com/New-pkg-error-No-signature-Unable-to-find-catalogs-tp5864898.html
> Sent from the freebsd-ports mailing list archive at Nabble.com.
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"

FreeBSD.conf says catalog from pkg.freebsd.org should be signed, pkg 1.2 knows what it means, fetches
the catalog and discovers that they are not signed "No signature..." so it stops
the operation.
At the moment I m writing this 11 packages are building and they will be signed.
so by tomorrow or maximum monday you will have everything working again.

In the mean time you can disable signature checking on pkg.freebsd.org by
overwriting the FreeBSD.conf that way:

echo "FreeBSD: { signature_type: "NONE" } " >>
/usr/local/etc/pkg/repos/nosigforfreebsd.conf

regards,
Bapt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20131130/76fe2802/attachment.sig>


More information about the freebsd-ports mailing list