clean out old kernel versions?

Bret Busby bret.busby at gmail.com
Sun Mar 7 07:08:41 UTC 2021


On 07/03/2021, Dave Stevens <geek at uniserve.com> wrote:
> Linux user-Satellite-A100 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18
> 18:34:49 UTC 2016 i686 i686 i686 GNU/Linux
>
> cat /etc/issue
> Linux Mint 18 Sarah \n \l
>
> --------------
>
>
> /boot has 440 files in it, almost all of which are old kernel entries.
> Is there a simple way to get rid of all but the most recent few (2 or
> 3)?
>
> I could find a use for that 4.4 GB of disk space.
>
> D
>


As has been previously mentioned on the list, try running the
following; initially, and, whenever you perform a system update.

sudo apt-get -y update && sudo apt-get -y dist-upgrade && sudo apt-get
-y autoremove && sudo apt-get -y autoclean

That is a single line, composite command combination.

-- 
Bret Busby
Armadale
West Australia
(UTC+0800)
..............




More information about the ubuntu-users mailing list