On 3 May 2013 22:11, Steve J. <1175...@bugs.launchpad.net> wrote:
> 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').
>

Looks like an issue with unattended-upgrades (or possibly python-apt).
 It does not specifically install kernel packages, so the new package
('linux-image-3.2.0-41-generic' in the original message) must have
come as a dependency of upgrading 'linux-image-generic' or similar.
In that case, it must not be marked manually installed.

 affects ubuntu/unattended-upgrades

A cursory glance at the main parts of 'unattended-upgrade' did not
reveal any obvious errors, but it performs such heavy manipulation of
the depcache that a more detailed inspection is required.

Do the systems have either apt.conf option set:

- Unattended-Upgrades::MinimalSteps
- Unattended-Upgrade::MinimalSteps


> 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?
>

Markauto every kernel image as the cleanup script protects the most
relevent ones.

# apt-mark markauto linux-image.*

Although you will have to do that after every new kernel image is
installed, until the issue with upgrade-alternatives is resolved.


** Also affects: unattended-upgrades (Ubuntu)
   Importance: Undecided
       Status: New

-- 
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

Reply via email to