[Bug 1950634] Re: package snapd (not installed) failed to install/upgrade: installed snapd package post-removal script subprocess returned error exit status 1

2021-11-17 Thread Alberto Mardegan
This has been addressed in https://github.com/snapcore/snapd/pull/11055 ** Changed in: snapd (Ubuntu) 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/1950634 T

[Bug 1950634] Re: package snapd (not installed) failed to install/upgrade: installed snapd package post-removal script subprocess returned error exit status 1

2021-11-15 Thread Alberto Mardegan
Thanks David! (feel free to ignore the following: I'm just writing some notes here for my colleagues, as a starting point to fix the issue) Indeed, out post-remove script (located in debian/snapd.postrm in the source tree) does echo "Final directory cleanup" for d in "/snap/bin" "/snap"

[Bug 1950634] Re: package snapd (not installed) failed to install/upgrade: installed snapd package post-removal script subprocess returned error exit status 1

2021-11-15 Thread Alberto Mardegan
** Changed in: snapd (Ubuntu) Status: Incomplete => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1950634 Title: package snapd (not installed) failed to install/upgrade: installed

[Bug 1950634] Re: package snapd (not installed) failed to install/upgrade: installed snapd package post-removal script subprocess returned error exit status 1

2021-11-14 Thread David Jericho
Hi Alberto, Apt is happy now, no warnings about packages or anything at this point. As noted, I did have to manually clean it up, and apt install gnome- software to repair the behaviour of the desktop trying to reinstall snapd. -- You received this bug notification because you are a member of Ub

[Bug 1950634] Re: package snapd (not installed) failed to install/upgrade: installed snapd package post-removal script subprocess returned error exit status 1

2021-11-14 Thread Alberto Mardegan
Thanks for the information, David. But is apt happy now, or is it still complaining about the snapd package state? What happens if you run "apt -f install"? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bug

[Bug 1950634] Re: package snapd (not installed) failed to install/upgrade: installed snapd package post-removal script subprocess returned error exit status 1

2021-11-12 Thread David Jericho
Hello, /var/snap is entirely empty, although the directory is present. With no snap now installed, /snap of course doesn't exist, however there are systemd units foe snap, linked to /dev/null host:~/$ ls -al /etc/systemd/system/snapd* lrwxrwxrwx 1 root root 9 Nov 11 20:42 /etc/systemd/system/sn

[Bug 1950634] Re: package snapd (not installed) failed to install/upgrade: installed snapd package post-removal script subprocess returned error exit status 1

2021-11-12 Thread Alberto Mardegan
Hi David! I'm sorry to read that you had this bad experience. What is the current situation? I see from the logs that the error occurred because the snapd post- removal script found that the /var/snap directory was in use. Can you please check what are its contents now (you could run `tree /var/sn