The nightly unattended-upgrade (which I've configured to Unattended-
Upgrade::Remove-Unused-Dependencies "true";) removed the .old kernel on
two different 14.04 LTS servers last night, leaving both with no backup
kernel at all.
In fact now that I'm paying attention again, I have quite a number of
One interesting thing is that this bug didn't manifest on other Ubuntu
14.04 LTS servers.
I've a couple of sibling servers that are supposed to be exact copies
(one is a hot standby for the other). One of them is now down to just
one kernel, with two kernels listed in /etc/apt/apt.conf.d/01autore
FWIW I can reinstall linux-image-3.13.0-139-generic, mark it as
autoremovable with apt-mark auto linux-image-3.13.0-139-generic, and at
that point apt-get autoremove doesn't try to remove it any more. (But
the apt-get install didn't restore /vmlinuz.old or /initrd.img.old
symlinks.)
I'm not sure
I accidentally ran apt-get autoremove twice on a couple of Ubuntu 14.04
LTS servers, and it removed the stale kernel (on 1st run) and the old
kernel (on 2nd run), leaving the latest kernel the only one available in
/boot.
The .old kernel was linux-headers-3.13.0-139-generic, and if I look at
/etc/
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: apt (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637797
Title:
kernel
** Tags added: kernel-autoremove
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1637797
Title:
kernel referred to by /*.old autoremoved
To manage notifications about this bug go to:
https://bugs.lau
APT should keep those kernels in recent versions:
# Mark as not-for-autoremoval those kernel packages that are:
# - the currently booted version
# - the kernel version we've been called for
# - the latest kernel version (as determined by debian version number)
# - the second-latest kernel vers
apport information
** Tags added: apport-collected trusty
** Description changed:
apt-get suggests to remove and, with autoremove command, actually
removes previous kernel referenced by /*.old links and breaks the
ability to boot with a previous kernel. Kernel referenced by /*.old may
no