<div dir="ltr"><div class="markdown-here-wrapper" style=""><p style="margin:1.2em 0px!important">On 2 December 2016 at 13:32, David Barth <<a href="mailto:david.barth@canonical.com" target="_blank">david.barth@canonical.com</a>> wrote:</p>
<p style="margin:1.2em 0px!important"></p><div class="markdown-here-exclude"><p></p><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Fri, Dec 2, 2016 at 1:04 PM, Pegenaute Bresme, Xavier <span dir="ltr"><<a href="mailto:xpegenautebr@iam.cat" target="_blank">xpegenautebr@iam.cat</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi all,<br><br></div>I just installed the last version [1] and when I execute these lines the output is as follows. <br><br></div>I guess the package list is not properly updated/synchronized with the package repository. Am I wrong?, how could I fix it ?<br><br><div>------------------------------<wbr>------------------------------<wbr>--<br>root@localhost:~# snap refresh<br>All snaps up to date.<br>root@localhost:~# snap install snapweb<br>error: cannot perform the following tasks:<br>- Download snap "snapweb" (25) from channel "stable" (sha3-384 mismatch downloading snapweb: got <div style="font-family:monospace,monospace;display:inline" class="gmail_default"></div>8b83c8eb7f7aa306bc342fd1b424fa<wbr>95ccf379c068c4735085bc81ee6b51<wbr>bb02a23b8c3c2a34f842619d7650b3<wbr>152787 but expected d0e1cd6d578c8eaab13e10dac4acbd<wbr>7e8f6337da45b291fa7ae0358a2939<wbr>3059732b29bb61a65d18e693b8e6e8<wbr>a53b62)<br></div></div></blockquote><div><br></div></span><div>What is surprising is the "expected" signature.</div><div>Snap is downloading the correct armhf build for 0.21.2, ie #25, and the SHA3 it obtained corresponds to the published version.</div><span class="HOEnZb"></span><br clear="all"></div></div></div></blockquote><p></p></div><p style="margin:1.2em 0px!important"></p>
<p style="margin:1.2em 0px!important">Moreover, that expected hash doesn’t seem to exist in the index, at least not for that package. Where has snapd got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class="gmail_extra">-- <br><div class="gmail_signature" data-smartmail="gmail_signature">James Tait, BSc. | <a href="https://launchpad.net/~jamestait/" target="_blank">https://launchpad.net/~jamestait/</a><br>Software Engineer, Canonical Online Services<br>Ubuntu - Linux for human beings | <a href="http://www.ubuntu.com" target="_blank">www.ubuntu.com</a></div>
</div></div>