[Bug 1070005] Re: [wishlist] Ubuntu could propose to remove old kernels when upgrading

Loubrix david30160 at gmail.com
Tue Oct 23 10:36:09 UTC 2012


I think it would be a good idea to include a feature in update-manager to uninstall old kernel while installing a new one.
for example: I had linux-image-3.2.0-10, and  linux-image-3.2.0-11; update-manager install  linux-image-3.2.0-12 when updating, and uninstall linux-image-3.2.0-10 at the same time.
by this way, only 2 kernels stay in the system, and the disk space remain stable.

it could be made silently for basic users, but other users could change
the behavior in update-manager settings.

it also could be made in the postinstall script of linux-image (and
headers) package, but it isn't possible to change settings in that case.

remove kernels only while upgrading to a newer version isn't a good
idea; LTS versions can provide 40 or 50 kernels during their life.

-- 
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/1070005

Title:
  [wishlist] Ubuntu could propose to remove old kernels when upgrading

Status in “update-manager” package in Ubuntu:
  New

Bug description:
  When using Ubuntu a long time (eg Karmic -> Lucid -> Maverick -> Natty -> Oneiric -> Precise -> Quantal..), a system will accumulate several dizains of old kernels.
  Each kernel weights >200Mo, so this is not negligible, and may lead to blocked system if root becomes full. (see Bug #610358 )

  It would be nice if Ubuntu could propose to remove some of the old
  kernels when upgrading from one Ubuntu version to another.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1070005/+subscriptions




More information about the foundations-bugs mailing list