Sreyan Chakravarty wrote: > On Mon, Jul 27, 2020 at 7:47 PM stan via users < > users@xxxxxxxxxxxxxxxxxxxxxxx> wrote: > >> rpm keeps track of low level details and is the authority for packages >> on the system, dnf provides abstraction to make package handling easier >> for the user (packagekit takes that abstraction even further). I would >> not use rpm, except in an emergency, to install or remove a package, I >> would use dnf. It is safer. But rpm is great for quick queries, >> though I sometimes use dnf search depending on what I am looking for. >> >> Any way to permanently stop a particular kernel version from being > installed ? > > Like this version 5.7 was causing problems, so any way I can stop this > version from getting installed in future updates ? > > Future versions of 5.7 will probably work fine and don't want to stop them > from getting installed. > > Any way this is possible ? The dnf excludepkgs config option should work. I haven't used it often with a version in the pattern, so you might want to be careful that it doesn't match more than you intend. Something like this, in either the main dnf.conf or in specific repo files: excludepkgs=kernel*-5.7.* -- Todd
Attachment:
signature.asc
Description: PGP signature
_______________________________________________ users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx