On 3 May 2013 22:11, Steve J. <email address hidden> 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 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.
On 3 May 2013 22:11, Steve J. <email address hidden> wrote: dist-upgrade- ing kernel upgrades as new
> Unattended-upgrades does perform
> kernel updates, so it's likely installing/
> packages (which must be why I'm seeing them as being marked 'manual').
>
Looks like an issue with unattended-upgrades (or possibly python-apt). image-3. 2.0-41- generic' in the original message) must have image-generic' or similar.
It does not specifically install kernel packages, so the new package
('linux-
come as a dependency of upgrading 'linux-
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 Upgrade: :MinimalSteps
- Unattended-
> 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 alternatives is resolved.
installed, until the issue with upgrade-