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

SeijiSensei ubuntuforums at replies.cyways.com
Thu Jul 23 19:19:47 UTC 2015


I just ran dist-upgrade on my Kubuntu 14.04 system, and when it finished I had four kernels and associated files in /boot:
3.16.0.33-generic
3.16.0.38-generic
3.16.0.43-generic
3.16.0.44-generic

Autoremove failed to identify any of these.  I had to run apt-get remove
for the 33 and 38 kernels.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager 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 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/ubuntu/+source/aptdaemon/+bug/1439769/+subscriptions



More information about the foundations-bugs mailing list