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).
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 3.19.0- 8 set to automatically installed. 3.19.0- 8-generic set to automatically installed. 3.19.0- 7 set to automatically installed. 3.19.0- 7-generic set to automatically installed. 3.19.0- 10 was already set to automatically installed. 3.19.0- 10-generic was already set to automatically installed. 3.19.0- 9 set to automatically installed. 3.19.0- 9-generic set to automatically installed. 3.19.0- 10 was already set to automatically installed. 3.19.0- 10-generic was already set to automatically installed. 3.19.0- 7 set to automatically installed. 3.19.0- 7-generic set to automatically installed. 3.19.0- 8 set to automatically installed. 3.19.0- 8-generic set to automatically installed. 3.19.0- 9 set to automatically installed. 3.19.0- 9-generic set to automatically installed. 3.19.0- 10-generic was already set to automatically installed. 3.19.0- 7-generic set to automatically installed. 3.19.0- 8-generic set to automatically installed. 3.19.0- 9-generic set to automatically installed. extra-3. 19.0-10- generic was already set to automatically installed. extra-3. 19.0-7- generic set to automatically installed. extra-3. 19.0-8- generic set to automatically installed. extra-3. 19.0-9- generic set to automatically installed.
linux-tools-
linux-tools-
linux-tools-
linux-tools-
linux-tools-
linux-tools-
linux-tools-
linux-tools-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-headers-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
linux-image-
$
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 ature: Ubuntu 3.19.0-7.7-generic 3.19.0 ubuntu. update- manager' b'show-details' b'true' ubuntu. update- manager' b'window-height' b'716' ubuntu. update- manager' b'first-run' b'false' ubuntu. update- manager' b'window-width' b'729' ubuntu. update- manager' b'launch-time' b'1427986279' ture: all
DistroRelease: Ubuntu 15.04
Package: update-manager 1:15.04.3
ProcVersionSign
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.
b'com.
b'com.
b'com.
b'com.
InstallationDate: Installed on 2010-09-24 (1651 days ago)
InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
PackageArchitec
SourcePackage: update-manager
UpgradeStatus: Upgraded to vivid on 2014-12-06 (117 days ago)