LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   kernel questions (https://www.linuxquestions.org/questions/linux-general-1/kernel-questions-4175705402/)

lleb 12-25-2021 08:37 AM

kernel questions
 
so the newest u. b.... u.n. t.u k. e. r. n. e . l. has some major bugs in it. I'd like to remove that specific k. e. r. n. e . l. from my computers and block that k. e. r. n. e . l. from being reinstalled to any of my systems via apt upgrade.



-41 works without issue, but -43 is broken.

Symptoms:

1. Random GUI terminals refuse random commands. They hand and a ctrl+c is required to get the prompt back. They are fully broke for specific paths, ex: as root if cd / and issue ls 100% lock on that terminal. cd .. out and ls functions as expected.

2. Random keyboard stops responding in all GUI apps. Mouse functions and the keyboard is capable of opening a true terminal and works there, just not in the GUI. Reboots do not fully clear this issue as they will return after a short time.

Both issues are confirmed on 2 laptops that are not the same generation CPU, not the same CPU (one is AMD other is Intel) different manufacture, different RAM amounts and speeds as well as different GPUs.

the only fix I have found is to boot with the -41 k. e. r. n. e . l..

Desire:

1. Remove the newest k. e. r. n. e . l. installed
2. Block -43 from reinstalling
3. do not block future k. e. r. n. e . l.s from installing

Thanks in advance

Fyi for the moderators: cannot talk about c. o.. de. or it gets blocked

pan64 12-25-2021 10:48 AM

during the boot you can select the kernel version you wish. And also you can set a default.

I'm not really sure if it is a kernel bug.

lleb 12-25-2021 11:24 AM

Quote:

Originally Posted by pan64 (Post 6312388)
during the boot you can select the kernel version you wish. And also you can set a default.

I'm not really sure if it is a kernel bug.

following those steps is the fix/work-around i posted that i am performing. does not solve the issue at hand. still need to remove the broken one as well as block it from reinstalling while allowing future ones to install

enigma9o7 12-25-2021 09:53 PM

you can use apt-mark hold to keep a package from updating, if that's your goal. But you'll have to remove the hold when you're ready for it to start updating again.

lleb 12-25-2021 10:11 PM

Quote:

Originally Posted by enigma9o7 (Post 6312468)
you can use apt-mark hold to keep a package from updating, if that's your goal. But you'll have to remove the hold when you're ready for it to start updating again.

Code:

apt-mark hold linux-image-generic linux-headers-generic
Thank you

Set for now, how do i remove the updated kernel that was installed that is broke?

enigma9o7 12-25-2021 11:52 PM

Quote:

Originally Posted by lleb (Post 6312471)
Code:

apt-mark hold linux-image-generic linux-headers-generic
Thank you

Set for now, how do i remove the updated kernel that was installed that is broke?

You can just remove like any other package (after booting into another kernel, which you've already done by selecting it from advanced options in grub) with sudo apt remove. Just use the package names with the version (instead of generic) at the end.

lleb 12-26-2021 09:21 AM

Quote:

Originally Posted by enigma9o7 (Post 6312474)
You can just remove like any other package (after booting into another kernel, which you've already done by selecting it from advanced options in grub) with sudo apt remove. Just use the package names with the version (instead of generic) at the end.

simple enough. Thank you.


All times are GMT -5. The time now is 03:06 PM.