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.