Official NuTyX forums

Help => General => Topic started by: constantius on Thu Oct 07 11:07:57 2021

Title: Kernel how to stop upgrade
Post by: constantius on Thu Oct 07 11:07:57 2021
Hello. How to stop kernel from being upgraded.
I mean for example exclude in fedora dnf or ignorepkg in pacman arch.
Is there a similar manner in nutyx?
Title: Re: Kernel how to stop upgrade
Post by: Thierry on Fri Oct 08 08:00:38 2021
Hi Constantius

Officially it's not possible to "blacklist" packages in NuTyX. It leads to a broken system in 99 % of the cases because broken API.

I assume you must have a very good reason for stopping the kernel to be update. So what  I can propose you is to make the kernel package (temporarly) invisible for cards. You set the folder of the kernel packag info unvisible.

If we talk of kernel package for example:

Code: [Select]
sudo mv /var/lib/pkg/DB/kernel /var/lib/pkg/DB/.kernel
Cards will forget about the kernel package, but you can still change back by revert the above command.

Code: [Select]
sudo mv /var/lib/pkg/DB/.kernel /var/lib/pkg/DB/kernel
Thierry
Title: Re: Kernel how to stop upgrade
Post by: constantius on Mon Oct 11 14:01:48 2021
Thanks for your reply. I used to stop upgrading kernel in different old computer with old nvidia card and nvidia driver. When i dont want neauvoux driver... Nutyx right now i have on nuc intel pentium j5005 cpu and intel gpu. So it is no problem. But your proposition is courius. Best regards.
Title: Re: Kernel how to stop upgrade
Post by: rems on Thu Nov 04 20:23:30 2021
Hi, in Nutyx, you have many kernel versions. If you want only kernel 5.10 for example, you have kernel-510 at disposal. With that, the kernel will be always 5.10 but have upgrades for minor versions