-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
rhel-9.6.z
What were you trying to do that didn't work?
Locking a package doesn't prevent it from being updated using a local rpm file.
Please provide the package NVR for which the bug is seen:
python3-dnf-plugin-versionlock-4.0.24-4.el9_0.noarch
How reproducible is this bug?:
Always
Steps to reproduce
1.- Lock a package, in this example I will use skopeo:
# yum versionlock skopeo-1.18.0-2.el9 Adding versionlock on: skopeo-2:1.18.0-2.el9.*
2.- Check that the lock works:
# rpm -q skopeo
skopeo-1.18.0-2.el9.x86_64
# dnf update skopeo
Dependencies resolved.
Nothing to do.
Complete!
3.- Use the local rpm:
# dnf install ./skopeo-1.18.1-1.el9_6.x86_64.rpm Updating Subscription Management repositories. Last metadata expiration check: 1:25:35 ago on Wed 28 May 2025 02:49:51 PM CEST. Dependencies resolved. ============================================================================================================================================================== Package Architecture Version Repository Size ============================================================================================================================================================== Upgrading: skopeo x86_64 2:1.18.1-1.el9_6 @commandline 9.1 M Transaction Summary ============================================================================================================================================================== Upgrade 1 Package Total size: 9.1 M
- is cloned by
-
RHEL-94828 Document that versionlock doesn't apply to local packages
-
- Planning
-
- links to