[Bug 1637797] Re: kernel referred to by /*.old autoremoved

2018-02-27 Thread Marius Gedminas
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

[Bug 1637797] Re: kernel referred to by /*.old autoremoved

2018-01-23 Thread Marius Gedminas
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

[Bug 1637797] Re: kernel referred to by /*.old autoremoved

2018-01-23 Thread Marius Gedminas
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

[Bug 1637797] Re: kernel referred to by /*.old autoremoved

2018-01-23 Thread Marius Gedminas
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

[Bug 1637797] Re: kernel referred to by /*.old autoremoved

2018-01-23 Thread Launchpad Bug Tracker
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:

[Bug 1637797] Re: kernel referred to by /*.old autoremoved

2017-10-13 Thread Robie Basak
** 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:

[Bug 1637797] Re: kernel referred to by /*.old autoremoved

2016-11-03 Thread Julian Andres Klode
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

[Bug 1637797] Re: kernel referred to by /*.old autoremoved

2016-10-30 Thread lvm
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