Skip to main content

remove no longer needed Ubuntu kernels

Project description

The rmoldkernels utility removes old. no longer used, kernels from on Ubuntu systems, thus freeing up space on /boot (or /).

The currently active kernel is kept, as is the last one installed (numeric wise), normally that would be the one that becomes active on a reboot. Any ‘older’ or intermediate kernels (those that got installed after a reboot except for the last one) will be deleted.

If ran as normal user, you will be asked for a sudo password.

The commandline handed to apt-get for removal is echoed, and you do have to confirm the removal.

You can specify a number of extra kernels to keep, these are counted from the last and do include the last one if that is not the active one.

It probably works on Debian as well, but that has not been tested as of Nov. 2013.

Report bugs at https://bitbucket.org/ruamel/rmoldkernels/issues

and checkout repositories at https://bitbucket.org/ruamel/rmoldkernels

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ruamel.rmoldkernels-0.1.0.tar.gz (4.6 kB view details)

Uploaded Source

File details

Details for the file ruamel.rmoldkernels-0.1.0.tar.gz.

File metadata

File hashes

Hashes for ruamel.rmoldkernels-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2772f880d912a84f2d28b65749f0c3e6e97d53d2e4d220b1d614b70b03e7871f
MD5 89d2d375e776148e6aa517482822d914
BLAKE2b-256 f578e3379d9f47167ada42d293a6f49e3425bf2f04d166bb5339c461b5d7f900

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page