uyuni icon indicating copy to clipboard operation
uyuni copied to clipboard

Oracle Linux 8 package lock fails

Open j-kihet opened this issue 2 years ago • 0 comments

When trying to lock packages on Oracle linux 8 fails.

Uyuni release 2022.05

Trying to lock packadges fails and gives following error.

Error while changing the lock status:
An exception occurred in this state: Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/salt/state.py", line 2187, in call
    *cdata["args"], **cdata["kwargs"]
  File "/usr/lib/python3.6/site-packages/salt/loader.py", line 2140, in wrapper
    return f(*args, **kwargs)
  File "/usr/lib/python3.6/site-packages/salt/states/pkg.py", line 3618, in held
    _locks = __salt__["pkg.list_holds"](full=True)
  File "/usr/lib/python3.6/site-packages/salt/modules/yumpkg.py", line 2358, in list_holds
    _check_versionlock()
  File "/usr/lib/python3.6/site-packages/salt/modules/yumpkg.py", line 242, in _check_versionlock
    "Cannot proceed, {} is not installed.".format(vl_plugin)
salt.exceptions.SaltInvocationError: Cannot proceed, yum-plugin-versionlock is not installed.

Oracle linux 8 should be using package python3-dnf-plugin-versionlock.

j-kihet avatar Jun 14 '22 14:06 j-kihet