[OpenIndiana-discuss] INFO: pkg update manifest hash error in package readline

Stephan Althaus Stephan.Althaus at Duedinghausen.eu
Thu Jun 1 20:28:21 UTC 2023


On 6/1/23 22:12, Andreas Wacknitz wrote:
> Am 01.06.23 um 06:55 schrieb Stephan Althaus:
>> On 5/31/23 22:22, Stephan Althaus wrote:
>>> Hello!
>>>
>>> I have an old system running OI from November 2022:
>>>
>>> # pkg refresh --full && pkg update
>>> Creating Plan (Package planning:  661/1021): /
>>>
>>> Errors were encountered while attempting to retrieve package or file
>>> data for the requested operation.
>>> Details follow:
>>>
>>> pkg://openindiana.org/library/readline@6.3,5.11-2022.1.0.3:20221224T140642Z 
>>>
>>>
>>>   Invalid content: manifest hash failure: fmri:
>>> pkg://openindiana.org/library/readline@6.3,5.11-2022.1.0.3:20221224T140642Z 
>>>
>>> expected: e6571024d64e235a1ef19fd8557d028837118fec computed:
>>> 658d78a4022ed30bef9c2f9b6b15edabeb81ef1f. (happened 4 times)
>>>
>>>
>>> # zpool list
>>> NAME     SIZE  ALLOC   FREE  CKPOINT  EXPANDSZ   FRAG    CAP DEDUP
>>> HEALTH  ALTROOT
>>> rpool1   444G   341G   103G        -         -    36%    76% 1.00x
>>> ONLINE  -
>>>
>>>
>>> I will try again tomorrow,
>>> and i will try to remove some unused packages if this is related
>>> (this machine had various build bits like gcc-7, gcc-10 that are not
>>> needed anymore...)
>>>
>>> Regards,
>>>
>>> Stephan
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> openindiana-discuss mailing list
>>> openindiana-discuss at openindiana.org
>>> https://openindiana.org/mailman/listinfo/openindiana-discuss
>>
>> Hello!
>>
>> pkg update doesn't work, because of the 'old' pakcage readline may
>> have some hash error.
>>
>> i tried to verify this with a single package download, which throws
>> the same error:
>>
>> # pkgrecv -s https://pkg.openindiana.org/hipster/ -a -d ./pkgtest
>> pkg://openindiana.org/library/readline@6.3,5.11-2022.1.0.3:20221224T140642Z 
>>
>>
>> Retrieving packages for publisher openindiana.org ...
>> Retrieving and evaluating 1 package(s)...
>> pkgrecv:
>> pkg://openindiana.org/library/readline@6.3,5.11-2022.1.0.3:20221224T140642Z 
>>
>>   Invalid content: manifest hash failure: fmri:
>> pkg://openindiana.org/library/readline@6.3,5.11-2022.1.0.3:20221224T140642Z 
>>
>> expected: e6571024d64e235a1ef19fd8557d028837118fec computed:
>> 658d78a4022ed30bef9c2f9b6b15edabeb81ef1f. (happened 4 times)
>>
>> I have tested the download on a different machine, same error.
>>
>> Maybe someone else can have a look at this?
>>
>> Does the package need a rebuild ?
>>
>>
>> Regards,
>> Stephan
>>
>>
>>
>> _______________________________________________
>> openindiana-discuss mailing list
>> openindiana-discuss at openindiana.org
>> https://openindiana.org/mailman/listinfo/openindiana-discuss
> I have issued a package rebuild. This will hopefully create a correct 
> hash.
>
> Regards,
> Andreas
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss

Hello!

Yes, the hash error is gone and the package can be downloaded now.

Thanks!!

Regards,
Stephan

________________________________________________________________________________________________________________

# pkgrecv -v -s https://pkg.openindiana.org/hipster/ -a -d ./pkgtest 
pkg://openindiana.org/library/readline@6.3-2023.0.0.4:20230601T195252Z

Retrieving packages for publisher openindiana.org ...
Retrieving and evaluating 1 package(s)...

Archiving packages ...
         Packages to add:         1
       Files to retrieve:        27
Estimated transfer size: 755.06 kB

Packages to archive:
library/readline at 6.3,5.11-2023.0.0.4:20230601T195252Z

DOWNLOAD                                PKGS         FILES    XFER 
(MB)   SPEED
Completed                                1/1         27/27 0.7/0.7  105k/s

ARCHIVE                                              FILES  STORE (MB)
pkgtest                                            62/62 0.8/0.8




More information about the openindiana-discuss mailing list