[Howto] How can I exclude selected packages when I run dnf update command?

You have alternatives to exclude the packaged or lock it… please read this:

Regards.,

10 Likes

Probably worth a quick doc too?

(We need to keep moving information from here to quick docs as we find it IMO. Otherwise we suffer the same issues as askbot).

For me the versionlock plugin for DNF had to be installed from python3-dnf-plugin-versionlock.

Also, it seems the excludepkgs method in dnf.conf might not always be respected: 1256108 – libdnf context doesn't honor installonly_limit

@FranciscoD do it, update the Discourse common list and reflect into the TOPIC

Regards.,

2 Likes

Thanks very much! :clap:

1 Like