aptitude supposed to uninstall old kernel

Robert Holtzman holtzm at cox.net
Tue Apr 6 01:12:07 UTC 2010

On Mon, 5 Apr 2010, Tom H wrote:

> On Mon, Apr 5, 2010 at 9:05 AM, Brian McKee <brian.mckee at gmail.com> wrote:
>> Aptitude doesn't remove kernels by default so you have a fallback position.
>> See  /etc/apt/apt.conf.d/05aptitude
>> aptitude::Keep-Unused-Pattern "^linux-image.*$ |
>> ^linux-restricted-modules.*$ | ^linux-ubuntu-modules.*$";
> This is something that has been puzzling me but I have not had a
> chance to look into it except for checking the above file and some
> others in apt.conf.d.
> Since starting to use Lucid, aptitude has been uninstalling kernels
> automatically and leaving me with just two kernels at every kernel
> update. I had meant to look into the logs but I forgot about it and
> did a clean install two days ago.
> Has anyone else run into this? NoOp?

I may have. I'm beginning to wonder if I didn't misread the aptitude 
message. I wonder if it didn't say say it was removing the 2.6.24-25 
kernel and not the 2.6.24-26.17~

Bob Holtzman
Key ID: 8D549279
"If you think you're getting free lunch,
  check the price of the beer"

More information about the ubuntu-users mailing list