** Description changed: I was debugging a snap and I did: $ cd /snap/foo/current/path/to/some/thing $ sudo snap remove foo It hung so I Ctrl-C'd and then tried again: $ sudo snap remove foo error: cannot remove "foo": snap "foo" has changes in progress I then needed to make snapd forget about "foo" and had to stop the systemd service, umount the snap, remove files associated with the snap and perform surgery on /var/lib/snapd/state.json. I'm still working through what I need to do, but I think it will occasionally happen during debugging sessions that others will hit this. + + That didn't really work. I stopped snapd, then manually umounted all the + snaps, then apt-get remove --purge snapd, then rm -rf /snap /var/snap + /var/lib/snapd, then reinstalled. This is pretty extreme-- perhaps there + was a better to get a usable snapd....
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1585806 Title: snap remove while in /snap/foo/current/... not robust To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1585806/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
