pkg error

Evilham contact at evilham.com
Thu Mar 5 08:52:06 UTC 2020


On dj., març 05 2020, Yuri Pankov wrote:

> On 05.03.2020 09:56, Jacques Foucry wrote:
>> 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:


OTOH this hint to run 'pkg update -f' is pretty awesome :-D.
That's a whole class of questions that will never happen again \o/ 
("what does size mismatch, cannot continue mean?").


>>
>> 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,
>
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244549
>
> TL;DR: it's being worked on and new builds are already in 
> progress (AFAIK).

This was already solved for 13-current yesterday IIRC and indeed 
it looks like it's working fine on 12.1-release for me now.
--
Evilham


More information about the freebsd-questions mailing list