[Bug 1898729] Re: shim can end up being removed
Owain Kenway
1898729 at bugs.launchpad.net
Tue Aug 3 09:06:28 UTC 2021
Slightly alarmingly today, the push out of this fix resulted in shim
being marked to be autoremoved.
Start-Date: 2021-08-03 09:32:20
Commandline: apt dist-upgrade
Requested-By: uccaoke (1000)
Upgrade: shim-signed:amd64 (1.40.4+15+1552672080.a4a1fbe-0ubuntu2, 1.40.6+15.4-0ubuntu7), shim:amd64 (15+1552672080.a4a1fbe-0ubuntu2, 15.4-0ubuntu7)
End-Date: 2021-08-03 09:32:23
Start-Date: 2021-08-03 09:32:37
Commandline: apt autoremove
Requested-By: uccaoke (1000)
Remove: shim:amd64 (15.4-0ubuntu7)
End-Date: 2021-08-03 09:32:37
I'm not sure if this would result in a non-booting system so I manually reinstalled shim to make sure but you might want to check.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to shim-signed in Ubuntu.
https://bugs.launchpad.net/bugs/1898729
Title:
shim can end up being removed
Status in shim-signed package in Ubuntu:
Fix Released
Status in shim-signed source package in Bionic:
Fix Committed
Status in shim-signed source package in Focal:
Fix Released
Status in shim-signed source package in Groovy:
Fix Released
Bug description:
[Impact]
System unbootable because shim-signed was marked auto and removed during upgrade.
[Test case]
Install shim-signed, mark autoremovable, and ensure that
1. autoremove does not remove it
2. removing manual triggers essential remove warning
[Regression potential]
Scripts removing shim-signed will fail and need to pass --allow-remove-essential now.
[Original bug report]
I just did a set of package updates in focal that ended up with shim shim-signed mokutil being autoremoved.
I rebooted without noticing, and had to manually recover the system
thereafter. :(
Julian says there was a period of time where these were marked auto. I
suppose that I installed during this window, and now some dependency
change meant that as far as apt was concerned they weren't required
any more.
Can we please consider never proposing these packages for autoremoval?
apt has NeverAutoRemove for this which could be used, or some other
appropriate method.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/shim-signed/+bug/1898729/+subscriptions
More information about the foundations-bugs
mailing list