Snap install issues upon hard kill with Ctrl + c
Kyle Fazzari
kyle.fazzari at canonical.com
Wed Jan 25 00:12:03 UTC 2017
On 01/24/2017 03:59 PM, Luther Goh Lu Feng wrote:
> I encountered an issue when I did a ctrl + c as snap was installing my helloworld snap. Essentially, I am unable to resume an install, or do any other snap installs. Is there any known way to resolve this should I encounter it again in future?
>
> This occured on Debian. I had to do an uninstall + reinstall of snapd. But even that failed. It only succeeded after I removed /var/lib/snap after uninstall, before the reinstallation step.
>
> -- Luther
>
>
> ==================
>
> [foo at beaglebone ~/snappy/dockerbuild/snap2] Tue 24 Jan 2017 12:44:33 PM
> # snap install ./hello_2.10_armhf.snap --dangerous
> ubuntu-core 6.11 MB / 64.41 MB [=======>-----------------------------------------------------------------------] 9.48% 434.74 KB/s 2m17s^C
> [foo at beaglebone ~/snappy/dockerbuild/snap2] Tue 24 Jan 2017 12:45:14 PM
> # snap list
> No snaps are installed yet. Try "snap install hello-world".
> [foo at beaglebone ~/snappy/dockerbuild/snap2] Tue 24 Jan 2017 12:45:16 PM
> # snap install ./hello_2.10_armhf.snap --dangerous
> error: cannot install snap file: Get https://search.apps.ubuntu.com/api/v1/snaps/details/ubuntu-core?channel=stable&confinement=strict: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)
> [foo at beaglebone ~/snappy/dockerbuild/snap2] Tue 24 Jan 2017 12:45:31 PM
> # snap install ./hello_2.10_armhf.snap --dangerous
> error: cannot install snap file: snap "ubuntu-core" has changes in progress
>
tl;dr this is a known bug:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1596077
A decent explanation of the issue is here if you're curious:
https://askubuntu.com/questions/790969/how-do-i-remove-an-incomplete-or-broken-snap-installation-of-nextcloud-on-a-rasp/790975
--
Kyle Fazzari (kyrofa)
Software Engineer
Canonical Ltd.
kyle at canonical.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20170124/b11d9896/attachment.sig>
More information about the Snapcraft
mailing list