please don't auto-remove kernels

Bug #159510 reported by Chad Waters
4
Affects Status Importance Assigned to Milestone
aptitude (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: aptitude

I've been told by many that I should migrate from apt-get to aptitude. However, aptitude doesn't agree with my kernel management philosophy of leaving at least one bootable backup kernel (typically the previously released version).

chad@chad-laptop:~$ sudo aptitude safe-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Building tag database... Done
The following packages are unused and will be REMOVED:
  linux-headers-2.6.22-13 linux-headers-2.6.22-13-generic

Revision history for this message
Matti Lindell (mlind) wrote :

Hi, thank you for your bug.
Ubuntu's aptitude doesn't automatically remove installed kernels. "Unused" kernel _headers_ are removed though, and you only need these if you plan to compile something against the kernel.

/etc/apt/apt.conf.d/05aptitude contains:
aptitude::Keep-Unused-Pattern "^linux-image.*$ | ^linux-restricted-modules.*$ | ^linux-ubuntu-modules.*$";

I'm closing this bug report, please reopen if you still have the issue.

Changed in aptitude:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.