dnf-versionlock
Protect packages from updates to newer versions. tldr-pages
On Linux
Linux
Protect packages from updates to newer versions. Not default to dnf but supported via dnf-plugins-core.
List the current versionlock entries
dnf versionlockIdentifyAdd a versionlock for all available packages matching the spec
dnf versionlock add packageIdentifyAdd an exclude (within versionlock) for the available packages matching the spec
dnf versionlock exclude packageIdentifyRemove any matching versionlock entries
dnf versionlock delete packageIdentifyRemove all versionlock entries
dnf versionlock clearIdentify