sha3-384 mismatch

James Tait james.tait at canonical.com
Fri Dec 2 14:42:33 UTC 2016


On 2 December 2016 at 13:32, David Barth <david.barth at canonical.com> wrote:


> On Fri, Dec 2, 2016 at 1:04 PM, Pegenaute Bresme, Xavier <
> xpegenautebr at iam.cat> wrote:
>
>> Hi all,
>>
>> I just installed the last version [1] and when I execute these lines the
>> output is as follows.
>>
>> I guess the package list is not properly updated/synchronized with the
>> package repository. Am I wrong?, how could I fix it ?
>>
>> --------------------------------------------------------------
>> root at localhost:~# snap refresh
>> All snaps up to date.
>> root at localhost:~# snap install snapweb
>> error: cannot perform the following tasks:
>> - Download snap "snapweb" (25) from channel "stable" (sha3-384 mismatch
>> downloading snapweb: got
>> ​​
>> 8b83c8eb7f7aa306bc342fd1b424fa95ccf379c068c4735085bc81ee6b51
>> bb02a23b8c3c2a34f842619d7650b3152787 but expected
>> d0e1cd6d578c8eaab13e10dac4acbd7e8f6337da45b291fa7ae0358a2939
>> 3059732b29bb61a65d18e693b8e6e8a53b62)
>>
>
> What is surprising is the "expected" signature.
> Snap is downloading the correct armhf build for 0.21.2, ie #25, and the
> SHA3 it obtained corresponds to the published version.
>
> ​Moreover, that expected hash doesn’t seem to exist in the index​, at
least not for that package. Where has snapd got that value from?
​
-- 
James Tait, BSc. | https://launchpad.net/~jamestait/
Software Engineer, Canonical Online Services
Ubuntu - Linux for human beings | www.ubuntu.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20161202/c1b5311d/attachment.html>


More information about the Snapcraft mailing list