[Bug 1439769] Re: various linux packages being marked as manually installed, still prevents 'apt-get autoremove' from doing the right thing for kernels

Steve Langasek steve.langasek at canonical.com
Tue Oct 6 18:26:06 UTC 2015


Opening a bug task on the aptdaemon upstream project for this as well,
since solving this involves making changes to the aptdaemon protocol.
Sebastian, or other aptdaemon maintainers, do you have any thoughts here
on mvo's proposed implementation of taking this optional 'auto' flag
from clients for packages being installed?

** Also affects: aptdaemon
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to aptdaemon in Ubuntu.
https://bugs.launchpad.net/bugs/1439769

Title:
  various linux packages being marked as manually installed, still
  prevents 'apt-get autoremove' from doing the right thing for kernels

Status in Aptdaemon:
  New
Status in aptdaemon package in Ubuntu:
  Triaged
Status in update-manager package in Ubuntu:
  Triaged
Status in aptdaemon source package in Vivid:
  Triaged
Status in update-manager source package in Vivid:
  Triaged

Bug description:
  On vivid, my system is full of kernels that have been tagged as
  manually installed again, not automatically installed; preventing
  'apt-get autoremove' from doing the right thing.

  $ sudo apt-mark auto linux-tools-3.19.0-{8,7,10,9}{,-generic} linux-headers-3.19.0-{10,7,8,9}{,-generic} linux-image{,-extra}-3.19.0-{10,7,8,9}-generic
  linux-tools-3.19.0-8 set to automatically installed.
  linux-tools-3.19.0-8-generic set to automatically installed.
  linux-tools-3.19.0-7 set to automatically installed.
  linux-tools-3.19.0-7-generic set to automatically installed.
  linux-tools-3.19.0-10 was already set to automatically installed.
  linux-tools-3.19.0-10-generic was already set to automatically installed.
  linux-tools-3.19.0-9 set to automatically installed.
  linux-tools-3.19.0-9-generic set to automatically installed.
  linux-headers-3.19.0-10 was already set to automatically installed.
  linux-headers-3.19.0-10-generic was already set to automatically installed.
  linux-headers-3.19.0-7 set to automatically installed.
  linux-headers-3.19.0-7-generic set to automatically installed.
  linux-headers-3.19.0-8 set to automatically installed.
  linux-headers-3.19.0-8-generic set to automatically installed.
  linux-headers-3.19.0-9 set to automatically installed.
  linux-headers-3.19.0-9-generic set to automatically installed.
  linux-image-3.19.0-10-generic was already set to automatically installed.
  linux-image-3.19.0-7-generic set to automatically installed.
  linux-image-3.19.0-8-generic set to automatically installed.
  linux-image-3.19.0-9-generic set to automatically installed.
  linux-image-extra-3.19.0-10-generic was already set to automatically installed.
  linux-image-extra-3.19.0-7-generic set to automatically installed.
  linux-image-extra-3.19.0-8-generic set to automatically installed.
  linux-image-extra-3.19.0-9-generic set to automatically installed.
  $

  The only reason -10 was marked as auto-installed was that it went via
  an 'apt-get dist-upgrade' instead of update-manager (because of the
  unrelated problem with debconf passthrough currently failing in vivid
  and blocking upgrades).

  ProblemType: Bug
  DistroRelease: Ubuntu 15.04
  Package: update-manager 1:15.04.3
  ProcVersionSignature: Ubuntu 3.19.0-7.7-generic 3.19.0
  Uname: Linux 3.19.0-7-generic x86_64
  ApportVersion: 2.17-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu Apr  2 07:58:41 2015
  GsettingsChanges:
   b'com.ubuntu.update-manager' b'show-details' b'true'
   b'com.ubuntu.update-manager' b'window-height' b'716'
   b'com.ubuntu.update-manager' b'first-run' b'false'
   b'com.ubuntu.update-manager' b'window-width' b'729'
   b'com.ubuntu.update-manager' b'launch-time' b'1427986279'
  InstallationDate: Installed on 2010-09-24 (1651 days ago)
  InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
  PackageArchitecture: all
  SourcePackage: update-manager
  UpgradeStatus: Upgraded to vivid on 2014-12-06 (117 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/aptdaemon/+bug/1439769/+subscriptions



More information about the foundations-bugs mailing list