Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Mar 2020 07:56:08 +0100
From:      Jacques Foucry <jacques+freebsd@foucry.net>
To:        freebsd-questions@freebsd.org
Subject:   pkg error
Message-ID:  <20200305065608.GB6019@foucry.net>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200305065608.GB6019>