This forum has been archived. All content is frozen. Please use KDE Discuss instead.

/boot filling up with kernels - can't seem to remove.

Tags: None
(comma "," separated)
jwt873
Registered Member
Posts
35
Karma
0
My current configuration is:

Linux 5.4.0-73-generic #82-Ubuntu SMP Wed Apr 14 17:39:42 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

My /boot partition is filling up with kernels. as below:

Code: Select all
jim@linux:~$ dpkg -l linux-image-\* | grep ^ii
ii  linux-image-5.4.0-51-generic   5.4.0-51.56    amd64    Signed kernel image generic
ii  linux-image-5.4.0-67-generic   5.4.0-67.75    amd64    Signed kernel image generic
ii  linux-image-5.4.0-70-generic   5.4.0-70.78    amd64    Signed kernel image generic
ii  linux-image-5.4.0-71-generic   5.4.0-71.79    amd64    Signed kernel image generic
ii  linux-image-5.4.0-72-generic   5.4.0-72.80    amd64    Signed kernel image generic
ii  linux-image-5.4.0-73-generic   5.4.0-73.82    amd64    Signed kernel image generic
ii  linux-image-generic            5.4.0.73.76    amd64    Generic Linux kernel image
jim@linux:~$

(The System-Maps, headers and vmlunuz components are also there). When I try 'sudo apt autoremove' and 'sudo apt autoclean' I get the following:
Code: Select all
jim@linux:~$ sudo apt autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

jim@linux:~$ sudo apt autoclean
Reading package lists... Done
Building dependency tree       
Reading state information... Done
jim@linux:~$

The commands 'apt autoremove' and 'apt autoclean' used to work in the past with Neon, but no longer seem to. I'm uncomfortable hacking about with the 'rm' command.. What's the best way to safely remove the old kernels?

Thanks in advance....
User avatar
minson
Registered Member
Posts
30
Karma
0
jwt873
Registered Member
Posts
35
Karma
0
Thanks for that... (Should have searched more).. That's one heck of a terminal command. But fortunately it worked here..


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], q.ignora, watchstar