dnf-versionlock
lock package versions
TLDR
List versionlock entries
$ dnf versionlock
Add versionlock for a package$ dnf versionlock add [package]
Exclude a package version$ dnf versionlock exclude [package]
Delete versionlock entry$ dnf versionlock delete [package]
Clear all versionlock entries$ dnf versionlock clear
SYNOPSIS
dnf versionlock [command] [package]
DESCRIPTION
dnf versionlock protects packages from being updated to newer versions. Part of dnf-plugins-core.
Useful for keeping specific package versions that are known to work or avoiding problematic updates.
PARAMETERS
add package
Lock package at current versionexclude package
Exclude package from updatesdelete package
Remove specific lock entryclear
Remove all lock entrieslist
Show current locks (default)
CONFIGURATION
/etc/dnf/plugins/versionlock.list
Stores package version lock entries. Each line contains a package specification to lock.
CAVEATS
Requires dnf-plugins-core. Locked packages won't receive security updates. Review locks periodically. Lock entries stored in /etc/dnf/plugins/versionlock.list.
SEE ALSO
dnf(8), yum-versionlock(8)
