I'll use the binutils package for this example
This is what I have in the versionlock.list file (and yes this is the file specified in the versionlock.conf file)
Code: Select all
$ grep binutils /etc/dnf/plugins/versionlock.list
binutils-2.30-58.el8_1.1.x86_64
Code: Select all
$ yum list installed binutils
Installed Packages
binutils.x86_64 2.30-58.el8.0.1 @System
Code: Select all
$ yum list available binutils
Last metadata expiration check: 0:08:46 ago on Fri 27 Mar 2020 12:46:24 PM UTC.
Available Packages
binutils.i686 2.30-58.el8 BaseOS
binutils.x86_64 2.30-58.el8_1.1 BaseOS
Code: Select all
# yum update
Last metadata expiration check: 0:16:15 ago on Fri 27 Mar 2020 12:46:24 PM UTC.
Dependencies resolved.
Nothing to do.
Complete!
Code: Select all
# yum versionlock delete binutils
Last metadata expiration check: 0:20:26 ago on Fri 27 Mar 2020 12:46:24 PM UTC.
Deleting versionlock for: binutils-2.30-58.el8_1.1.x86_64
# yum update
Last metadata expiration check: 0:21:07 ago on Fri 27 Mar 2020 12:46:24 PM UTC.
Dependencies resolved.
=====================================================================================================================
Package Architecture Version Repository Size
=====================================================================================================================
Upgrading:
binutils x86_64 2.30-58.el8_1.1 BaseOS 5.7 M
Transaction Summary
=====================================================================================================================
Upgrade 1 Package
Total download size: 5.7 M
Is this ok [y/N]: