Snap install issues upon hard kill with Ctrl + c

Luther Goh Lu Feng elfgoh at yahoo.com
Tue Jan 24 23:59:28 UTC 2017


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




More information about the Snapcraft mailing list