purge-old-kernels deprecated

David Fletcher dave at thefletchers.net
Thu Jan 5 08:04:24 UTC 2023


On Thu, 2023-01-05 at 01:46 -0500, Jeffrey Walton wrote:
> 
> How does one use Apt(8) to remove old kernels with a --keep argument?

I'm not aware of any keep argument. For a while now I've been using

sudo apt autoremove

which I believe automatically keeps two kernels. I also use

sudo apt autoclean

which sometimes deletes some redundant files.

Dave

> 
> Jeff
> 




More information about the ubuntu-users mailing list