apt-get sugests to remove needed packages on --autoremove

Bug #1331298 reported by Juan R. de Silva on 2014-06-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)

Bug Description

I'm running Xubuntu 14.04 LTS
apt version 1.0.1ubuntu2.1

After last update to 3.13.0-29-generic kernel I've tried to run 'apt-get autoremove' and it suggested to remove the following packages: linux-headers-generic and linux-image-generic

In Unity if these are removed the new kernel versions were never offered anymore on the subsequent system updates until these files were re-installed back. I'm new to Xubuntu but considering its relashionship with Ubuntu I would expect the same to happen here (correct me if I'm wrong, please). Hence I'm submitting this bug report.

I think the packages are not supposed to be suggested for removal when executing 'apt-get autoremove'.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: apt 1.0.1ubuntu2.1
ProcVersionSignature: Ubuntu 3.13.0-29.53-generic
Uname: Linux 3.13.0-29-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: i386
CurrentDesktop: XFCE
Date: Tue Jun 17 19:58:01 2014
InstallationDate: Installed on 2014-05-08 (41 days ago)
InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Release i386 (20140416.2)
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)

description: updated
Jarno Suni (jarnos) wrote :

Can you still reproduce the issue? Did you have some kernels installed that had greater version than the one that linux-image-generic depends on?

Please attach the output of
dpkg -l 'linux*' | grep ^ii
after this happens.

Maybe you had set package linux-generic as automatically installed?
Check that by
apt-mark showmanual linux-generic
If it prints the package name, linux-generic is manually installed, thus protecting linux-headers-generic and linux-image-generic from being automatically removed.

Changed in apt (Ubuntu):
status: New → Incomplete
Launchpad Janitor (janitor) wrote :

[Expired for apt (Ubuntu) because there has been no activity for 60 days.]

Changed in apt (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers