On 2 May 2013 22:57, Steve J. <1175...@bugs.launchpad.net> wrote: > Public bug reported: > > Updates to the linux-image-* packages in Precise are being marked as > "manually" installed, regardless of the auto/manual flag on the existing > kernel packages. This happens when updating packages with apt, aptitude, > or unattended-upgrades. I'm running an up-to-date 12.04.2 LTS installed > (amd64). >
The most recent kernel image (or was that active?) is marked manual, and others are auto. > I can see that my existing kernels were marked as automatically > installed: > > % apt-mark showauto | grep linux-image > linux-image-3.2.0-40-generic > linux-image-generic > > And, after the update was performed by unattended-upgrades last night, > the new kernel is marked manual: > > % apt-mark showmanual | grep linux-image > linux-image-3.2.0-41-generic > This is exactly the behaviour expected by: > This is a problem, because it renders the fix in this bug, > https://bugs.launchpad.net/ubuntu/+source/apt/+bug/923876 (Limit and > clean-up kernel images and headers automatically in LTS) ineffective, > since apt-get autoremove will not remove packages which are marked as > manually installed. > When the kernel image is upgraded again, 3.2.0-41 will be marked auto. The kernel cleanup hack works by putting the active kernel image outside of APTs autoremove system, i.e. to mark it manually installed. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1175637 Title: Kernel updates are being marked as manually installed To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1175637/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs