dnf versionlock
linux
Protect packages from updates to newer versions. Not default to `dnf` but supported via `dnf-plugins-core`. See also: `dnf`.
More info →Examples (5)
List the current versionlock entries
Add a versionlock for all available packages matching the spec
dnf versionlock add packageAdd an exclude (within versionlock) for the available packages matching the spec
dnf versionlock exclude packageRemove any matching versionlock entries
dnf versionlock delete packageRemove all versionlock entries
made by @shridhargupta | data from tldr-pages