pkg: repository meta /var/db/pkg/FreeBSD.meta has wrong version 2
Bob Willcox
bob at immure.com
Sat Jul 18 13:27:49 UTC 2020
I just updated one of my systems from 11.2-stable to 11.4-stable and when I
attempt to update the packages I now get this:
root at amidala:1 /var/db/pkg> pkg upgrade
Updating FreeBSD repository catalogue...
pkg: repository meta /var/db/pkg/FreeBSD.meta has wrong version 2
pkg: Repository FreeBSD load error: meta cannot be loaded No error: 0
Fetching meta.txz: 100% 916 B 0.9kB/s 00:01
pkg: repository meta /var/db/pkg/FreeBSD.meta has wrong version 2
repository FreeBSD has no meta file, using default settings
Fetching packagesite.txz: 100% 6 MiB 2.1MB/s 00:03
pkg: repository meta /var/db/pkg/FreeBSD.meta has wrong version 2
pkg: 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!
What can I do to correct the version of the FreeBSD.meta? I tried removing
everything from the /var/db/pkg directory but that didn't help.
Thanks,
Bob
--
Bob Willcox | It's possible that the whole purpose of your life is to
bob at immure.com | serve as a warning to others.
Austin, TX |
More information about the freebsd-questions
mailing list