Public bug reported:

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.

** Affects: snapd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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

Reply via email to