Comment 5 for bug 1175637

Revision history for this message
Stephen Jahl (sjahl) wrote : Re: [Bug 1175637] [NEW] Kernel updates are being marked as manually installed

On Fri, May 03, 2013 at 01:20:06PM -0000, Daniel Hartwig wrote:
> > This bug looks similar to
> > https://bugs.launchpad.net/aptdaemon/+bug/1078544, however, I'm running
> > a version of aptdaemon that supposedly has this fix applied.
>
> That issue does not apply here as the kernel upgrades you identified
> usually come as new packages. It would apply if e.g. after an upgrade
> you found that 'linux-image-generic' had changed from auto-installed
> to manual.

OK, I can't seem to reproduce this. On a few VMs that have, the
linux-image-generic package is remaining 'auto' after the update
(provided that I marked it that way by hand before the update). Only the
new linux-image-<version>-generic package is 'manual'.

Unattended-upgrades does perform
kernel updates, so it's likely installing/dist-upgrade-ing kernel upgrades as new
packages (which must be why I'm seeing them as being marked 'manual').

Do you have any suggestions for automatically flagging obsolete kernels as 'auto', or
might it be worth adding a feature to the kernel cleanup to do this?

-Steve