There are no apparmor denials in dmesg.
Looking at dpkg terminal log:
Preparing to unpack .../15-snapd_2.35.5~14.04_amd64.deb ...
Failed to stop snapd.autoimport.service: Unit snapd.autoimport.service not
loaded.
Failed to stop snapd.socket: Unit snapd.socket not loaded.
Failed to stop snapd.service: Unit snapd.service not loaded.
dpkg: warning: old snapd package pre-removal script subprocess returned error
exit status 5
dpkg: trying script from the new package instead ...
Failed to stop snapd.autoimport.service: Unit snapd.autoimport.service not
loaded.
Failed to stop snapd.socket: Unit snapd.socket not loaded.
Failed to stop snapd.service: Unit snapd.service not loaded.
dpkg: error processing archive
/tmp/apt-dpkg-install-MqUKcp/15-snapd_2.35.5~14.04_amd64.deb (--unpack):
new snapd package pre-removal script subprocess returned error exit status 5
It seems that snapd.prerm script doesn't cope with services being not
loaded and barfs.
** Also affects: snapd
Importance: Undecided
Status: New
** Changed in: snapd
Status: New => Triaged
** Changed in: snapd
Importance: Undecided => High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1804938
Title:
package snapd 2.35.4~14.04 failed to install/upgrade: new snapd
package pre-removal script subprocess returned error exit status 5
To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/1804938/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs