Kernel confusion...two different lists of installed kernels? Easy way to uninstall old kernels?
Re: Kernel confusion...two different lists of installed kernels? Easy way to uninstall old kernels?
too slow typing, deleted post.
" Outside the square , inside the cube "
- DukeComposed
- Posts: 1320
- Joined: Thu Mar 16, 2023 1:57 pm
Re: Kernel confusion...two different lists of installed kernels? Easy way to uninstall old kernels?
Did you notice that the only kernel suggested for removal in MX Cleanup has an entry in "dpkg -l" that starts with "ii"?RallyDarkstrike wrote: Sat Aug 10, 2024 9:12 pm
Thanks for the reply. MX Cleanup is only showing one kernel that can be removed though....but the Terminal command I mentioned in my first post implies that there are like...15 kernels that I could remove?
Copy/paste from that Terminal window:Code: Select all
(11:04 PM)darkstrike @ minidarkstrike ~ $ --> dpkg --list | grep linux-image [snip] rc linux-image-6.1.0-18-amd64 6.1.76-1 amd64 Linux 6.1 for 64-bit PCs (signed) rc linux-image-6.1.0-20-amd64 6.1.85-1 amd64 Linux 6.1 for 64-bit PCs (signed) rc linux-image-6.1.0-21-amd64 6.1.90-1 amd64 Linux 6.1 for 64-bit PCs (signed) rc linux-image-6.1.0-22-amd64 6.1.94-1 amd64 Linux 6.1 for 64-bit PCs (signed) ii linux-image-6.1.0-23-amd64 6.1.99-1 amd64 Linux 6.1 for 64-bit PCs (signed) ii linux-image-6.4.0-1mx-ahs-amd64-unsigned 6.4.4-1~mx23+1 amd64 Linux 6.4 for 64-bit PCs ii linux-image-amd64 6.1.99-1 amd64 Linux for 64-bit PCs (meta-package)
- RallyDarkstrike
- Posts: 151
- Joined: Fri Jan 22, 2021 1:51 pm
Re: Kernel confusion...two different lists of installed kernels? Easy way to uninstall old kernels?
No worries, thanks anyway!
- RallyDarkstrike
- Posts: 151
- Joined: Fri Jan 22, 2021 1:51 pm
Re: Kernel confusion...two different lists of installed kernels? Easy way to uninstall old kernels?
I didn't until you mentioned it, actually....I'm a power user compared to most folks, but I'm not a Linux expert so I'm afraid I don't know what those "rr, ii, ic' abbreviations stand for?DukeComposed wrote: Sat Aug 10, 2024 9:30 pmDid you notice that the only kernel suggested for removal in MX Cleanup has an entry in "dpkg -l" that starts with "ii"?RallyDarkstrike wrote: Sat Aug 10, 2024 9:12 pm
Thanks for the reply. MX Cleanup is only showing one kernel that can be removed though....but the Terminal command I mentioned in my first post implies that there are like...15 kernels that I could remove?
Copy/paste from that Terminal window:Code: Select all
(11:04 PM)darkstrike @ minidarkstrike ~ $ --> dpkg --list | grep linux-image [snip] rc linux-image-6.1.0-18-amd64 6.1.76-1 amd64 Linux 6.1 for 64-bit PCs (signed) rc linux-image-6.1.0-20-amd64 6.1.85-1 amd64 Linux 6.1 for 64-bit PCs (signed) rc linux-image-6.1.0-21-amd64 6.1.90-1 amd64 Linux 6.1 for 64-bit PCs (signed) rc linux-image-6.1.0-22-amd64 6.1.94-1 amd64 Linux 6.1 for 64-bit PCs (signed) ii linux-image-6.1.0-23-amd64 6.1.99-1 amd64 Linux 6.1 for 64-bit PCs (signed) ii linux-image-6.4.0-1mx-ahs-amd64-unsigned 6.4.4-1~mx23+1 amd64 Linux 6.4 for 64-bit PCs ii linux-image-amd64 6.1.99-1 amd64 Linux for 64-bit PCs (meta-package)
I'm assuming this means I can safely delete everything marked 'rc' or 'ic' then?
- DukeComposed
- Posts: 1320
- Joined: Thu Mar 16, 2023 1:57 pm
Re: Kernel confusion...two different lists of installed kernels? Easy way to uninstall old kernels?
"man dpkg-query" is going to be useful here. Remember that kernels end up under /boot, so if you don't have fifteen different /boot/vmlinuz files on your machine, you don't have fifteen kernels to remove. What you're seeing is leftover config files from previous kernels you've already installed, used, and then deleted after they were upgraded.RallyDarkstrike wrote: Sat Aug 10, 2024 9:39 pm I didn't until you mentioned it, actually....I'm a power user compared to most folks, but I'm not a Linux expert so I'm afraid I don't know what those "rr, ii, ic' abbreviations stand for?
I'm assuming this means I can safely delete everything marked 'rc' or 'ic' then?