[Bug 1901578] Re: Cannot remove snap package ubuntu 20.10
I investigated and reproduced this with: $ snap install hello-world $ mkdir /home/fakeuser/snap $ chown -R 1090:1088 /home/fakeuser (use uid:gid that are not used on the system). $ snap remove hello-world The problem is only affecting groovy and it appears to be fixed with https://github.com/snapcore/snapd/pull/9041/ (which landed on Sep 28th but hasn't been released in stable yet; the fix is included in snapd from edge). ** Changed in: snapd Status: Confirmed => Fix Committed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1901578 Title: Cannot remove snap package ubuntu 20.10 To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1901578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1901578] Re: Cannot remove snap package ubuntu 20.10
I'll work on a fix; as workaround it is also possible to use 'snap remove --purge ' (which of course skips snapshot creation). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1901578 Title: Cannot remove snap package ubuntu 20.10 To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1901578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1901578] Re: Cannot remove snap package ubuntu 20.10
** Changed in: snapd Assignee: (unassigned) => Paweł Stołowski (stolowski) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1901578 Title: Cannot remove snap package ubuntu 20.10 To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1901578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1901578] Re: Cannot remove snap package ubuntu 20.10
I was curious where we do this so I went looking and this is the start of the problem: https://github.com/snapcore/snapd/blob/7ff96a40a7a7a7779db250b087cec9b183540130/overlord/snapshotstate/backend/helpers.go#L145 In absence of other information, we snapshot the state for all the users this way. ** Changed in: snapd Status: Incomplete => Confirmed ** Changed in: snapd Importance: Undecided => Medium -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1901578 Title: Cannot remove snap package ubuntu 20.10 To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1901578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1901578] Re: Cannot remove snap package ubuntu 20.10
This is caused by a bug in the snapshot code, which enumerates users by their HOME entries. We should handle this case better. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1901578 Title: Cannot remove snap package ubuntu 20.10 To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1901578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1901578] Re: Cannot remove snap package ubuntu 20.10
After adding a second user... ~ sudo snap remove slack error: cannot perform the following tasks: - Save data of snap "slack" in automatic snapshot set #5 (user: lookup userid 1002: no such file or directory) I did have a third user for testing out other things. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1901578 Title: Cannot remove snap package ubuntu 20.10 To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1901578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1901578] Re: Cannot remove snap package ubuntu 20.10
After adding some random third user, snap removal works again. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1901578 Title: Cannot remove snap package ubuntu 20.10 To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1901578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1901578] Re: Cannot remove snap package ubuntu 20.10
I'm seeing the same problem after a clean install of 20.10 over a pre- existing home folder. ~ sudo snap remove slack error: cannot perform the following tasks: - Save data of snap "slack" in automatic snapshot set #4 (user: lookup userid 1001: no such file or directory) ~ id 1001 id: ‘1001’: no such user: No such file or directory There used to be a user 1001 in my system before I reinstalled (just not mine, some other I use to try out other desktop environments). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1901578 Title: Cannot remove snap package ubuntu 20.10 To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1901578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1901578] Re: Cannot remove snap package ubuntu 20.10
Hi, what does: ``` id 1001 ``` return on this system? ** Changed in: snapd (Ubuntu) Status: New => Incomplete ** Changed in: snapd Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1901578 Title: Cannot remove snap package ubuntu 20.10 To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1901578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1901578] Re: Cannot remove snap package ubuntu 20.10
** Also affects: snapd 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/1901578 Title: Cannot remove snap package ubuntu 20.10 To manage notifications about this bug go to: https://bugs.launchpad.net/snapd/+bug/1901578/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs