keep the 3 or 5 youngest linux-image-*-generic and autoremove the rest

Bug #1163155 reported by buhtz
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Keep a configurable number (per default maybe 3) of the youngest installed generic kernel images.
Onlye the generic ones! Selfbuild kernels are not affected of that.

Ubuntu-Systems running very long without reinstallation. After some years of updating there are a lot of old kernel-images installed but never used. It is a lot of space for mobile devices like netbooks, laptops or smaller.

It can be realize (like feudora does) with a meta-package like "kernel-lates" which is assoziated with the last/youngest 3 kernels.

All older one would be autoremoved.

Of course there could be selected another solution to make it easier to configure if someone need to keep all old kernels.

Revision history for this message
buhtz (buhtz) wrote :

Another solution:

Just kill the sub-menu in GRUB2.

If the use could see all installed kernel-images (a growing list) he would think about that topic and handle it byhimself.

Revision history for this message
tomtomtom (tomtomtom) wrote :

This bug-report has no context to the package gst-plugin-ugly0.10...

buhtz (buhtz)
affects: gst-plugins-ugly0.10 (Ubuntu) → kernel-package (Ubuntu)
Revision history for this message
Ben Hutchings (benh-debian) wrote :

kernel-package contains tools for building custom kernel packages. It is not the correct package for this bug.

Juhani Numminen (jsonic)
affects: kernel-package (Ubuntu) → apt (Ubuntu)
Revision history for this message
Julian Andres Klode (juliank) wrote :

We only keep a certain number of installed kernels, across all flavours. Older ones are autoremoved, even automatically with unattended-upgrades.

Changed in apt (Ubuntu):
status: New → Won't Fix
status: Won't Fix → 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.