pkg error

Jacques Foucry jacques+freebsd at
Thu Mar 5 06:56:15 UTC 2020

Hello folks,

I recently upgrade my laptop from 12.1-RELEASE-p1 to 12.1-RELEASE-p2 add it
seems something went wrong. When I try to install a new pkg I got an error:

[1/3] Fetching enigma-1.21.txz: 100%   52 MiB 621.8kB/s    01:27
pkg: cached package enigma-1.21: size mismatch, fetching from remote
[2/3] Fetching enigma-1.21.txz: 100%   52 MiB 693.5kB/s    01:18
pkg: cached package enigma-1.21: size mismatch, cannot continue
Consider running 'pkg update -f'

pkg update -f run an error too:

Updating FreeBSD repository catalogue...
Fetching meta.conf: 100%    163 B   0.2kB/s    00:01
Fetching packagesite.txz: 100%    6 MiB 806.6kB/s    00:08
Processing entries:  63%
pkg: wrong architecture: FreeBSD:12.0:amd64 instead of FreeBSD:12:amd64
pkg: repository FreeBSD contains packages with wrong ABI: FreeBSD:12.0:amd64
Processing entries: 100%
Unable to update repository FreeBSD
Error updating repositories!

Seems there is still olds references of package from 12.0

I tried pkg check, pkg cache, etc but the error is still there.

Any advice are welcome.

Thanks in advance,
Jacques Foucry

More information about the freebsd-questions mailing list