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@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@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@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@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. k...@canonical.com
signature.asc
Description: OpenPGP digital signature
-- Snapcraft mailing list Snapcraft@lists.snapcraft.io Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/snapcraft