[SOLVED] Old Kernel Not Marked for Removal...Why?

Begonnen von tranquil, 2022/11/28, 00:15:16

Vorheriges Thema - Nächstes Thema

tranquil

Note:  I'm using stock Debian Unstable, not Siduction.

I went to remove the prior two kernel versions today and I noticed that linux-image-5.14.0-3-amd is still on my system, but it's not marked for auto-removal.


Generating grub configuration file ...
Found linux image: /boot/vmlinuz-6.0.0-4-amd64
Found initrd image: /boot/initrd.img-6.0.0-4-amd64
Found linux image: /boot/vmlinuz-6.0.0-3-amd64
Found initrd image: /boot/initrd.img-6.0.0-3-amd64
Found linux image: /boot/vmlinuz-5.14.0-3-amd64
Found initrd image: /boot/initrd.img-5.14.0-3-amd64


Is it okay to just remove it using:

sudo apt purge

Any idea why linux-image-5.14.0-3-amd is not being flagged for auto-removal?
Dual-booting Debian Stable and Unstable with Openbox window manager and Tint2 panel.

unklarer

This kernel you have

- not installed with apt
- installed by hand

Yes, you also have to uninstall it by hand.   ;)

Mister00X

What does apt-mark showhold and apt-mark showmanual linux-image-5.14.0-3-amd64 say?


btw linux-image-5.14.0-3-amd64 is not a siduction kernel but seems to be a debian one because its missing "siduction" in its name.
Arguing that you don't care about the right to privacy because you have nothing to hide is no different than saying you don't care about free speech because you have nothing to say. – Edward Snowden

towo

Zitatbtw linux-image-5.14.0-3-amd64 is not a siduction kernel but seems to be a debian one because its missing "siduction" in its name.

ZitatNote:  I'm using stock Debian Unstable, not Siduction.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Mister00X

Zitat von: towo in 2022/11/28, 19:31:05
Zitatbtw linux-image-5.14.0-3-amd64 is not a siduction kernel but seems to be a debian one because its missing "siduction" in its name.

ZitatNote:  I'm using stock Debian Unstable, not Siduction.

Apparently I skipped that line. Mea culpa.
Arguing that you don't care about the right to privacy because you have nothing to hide is no different than saying you don't care about free speech because you have nothing to say. – Edward Snowden

tranquil

Zitat von: unklarer in 2022/11/28, 09:22:48
This kernel you have

- not installed with apt
- installed by hand

Yes, you also have to uninstall it by hand.   ;)

No, I don't install kernels by hand.
Dual-booting Debian Stable and Unstable with Openbox window manager and Tint2 panel.

tranquil

#6
Zitat von: Mister00X in 2022/11/28, 18:11:29
What does apt-mark showhold and apt-mark showmanual linux-image-5.14.0-3-amd64 say?
The kernel is not being held. I'll have to log into the Debian Unstable install on my laptop later today and try the apt-mark showmanual command. However, I did not manually install the kernel. I never manually install kernels.

Zitat von: Mister00X in 2022/11/28, 18:11:29
btw linux-image-5.14.0-3-amd64 is not a siduction kernel but seems to be a debian one because its missing "siduction" in its name.

Correct...I use the Siduction forums because I've learned a lot from the members about using Debian Unstable.

I also run Debian Unstable on my desktop and the kernel doesn't exist there; really weird. I'm going to attempt to purge the kernel from my laptop.
Dual-booting Debian Stable and Unstable with Openbox window manager and Tint2 panel.

unklarer


tranquil

Zitat von: unklarer in 2022/11/29, 11:20:04
Zitat von: tranquil in 2022/11/29, 10:38:41


No, I don't install kernels by hand.

synaptic etc. ?
I never, ever use Synaptic to perform installs or removals. I learned about not doing that very long ago when I became interested in Ubuntu.
Dual-booting Debian Stable and Unstable with Openbox window manager and Tint2 panel.

tranquil

#9
Zitat von: Mister00X in 2022/11/28, 18:11:29
What does apt-mark showhold and apt-mark showmanual linux-image-5.14.0-3-amd64 say?

Output of apt-mark showmanual linux-image-5.14.0-3-amd64:

linux-image-5.14.0-3-amd64

So I guess that means it was manually installed. How, I have no idea. I successfully purged the kernel from my laptop. Thank you to everyone who contributed to this thread.
Dual-booting Debian Stable and Unstable with Openbox window manager and Tint2 panel.