Date: Fri, 21 Feb 2020 09:22:57 +0000 From: Mark Raynsford <list+org.freebsd.pkg@io7m.com> To: freebsd-pkg@freebsd.org Subject: Error trying to update or install pkg Message-ID: <20200221092257.100c41cf@sunflower.int.arc7.info>
index | next in thread | raw e-mail
[-- Attachment #1 --]
Hello!
After an update from FreeBSD 11.2 to 12.2, I'm running into the
following:
$ sudo pkg-static install -f pkg
pkg-static: Warning: Major OS version upgrade detected. Running "pkg-static install -f pkg" recommended
Updating FreeBSD repository catalogue...
pkg-static: repository meta has wrong version 2
pkg-static: Repository FreeBSD load error: meta cannot be loaded No error: 0
Fetching meta.txz: 100% 916 B 0.9kB/s 00:01
pkg-static: repository meta has wrong version 2
repository FreeBSD has no meta file, using default settings
Fetching packagesite.txz: 100% 6 MiB 3.2MB/s 00:02
pkg-static: repository meta has wrong version 2
pkg-static: Repository FreeBSD load error: meta cannot be loaded No error: 0
Unable to open created repository FreeBSD
Unable to update repository FreeBSD
Error updating repositories!
I've actually tried completely removing /var/db/pkg and running the
above, and I still seem to get the same error.
My /etc/pkg/FreeBSD.conf:
FreeBSD: {
url: "pkg+http://pkg.FreeBSD.org/${ABI}/latest",
mirror_type: "srv",
signature_type: "fingerprints",
fingerprints: "/usr/share/keys/pkg",
enabled: yes
}
Any ideas? I'm left unable to complete the "freebsd-update install"
because I can't upgrade existing packages on the system.
--
Mark Raynsford | http://www.io7m.com
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
iHUEARYKAB0WIQTjaYHtEw209o1CAki7/9t1W67ZXQUCXk+hcQAKCRC7/9t1W67Z
Xf4oAP4nI2OsTvYNYFlC/rW9sVBL2y5rmm4vW5/IvAKtVfq0TgD9HfZxt2AzP6n9
1yB/SafSU2VGimD1w6MPVZdUVzF50QI=
=RkSN
-----END PGP SIGNATURE-----
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200221092257.100c41cf>
