IBM Support

On RHEL based Novalink, yum update fails with package conflict.

Troubleshooting


Problem

On a RHEL based Novalink, yum update fails with package conflict.

Symptom

Yum update fails
yum update
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for Power, little endian - Supplementary (RPMs)             12 kB/s | 3.8 kB     00:00
Red Hat Enterprise Linux 8 for Power, little endian - AppStream (RPMs)                 11 kB/s | 2.9 kB     00:00
Red Hat Enterprise Linux 8 for Power, little endian - BaseOS (RPMs)                    14 kB/s | 4.1 kB     00:00
Error:
 Problem: package python3-paramiko-2.12.0-1.el8.noarch requires python3.6dist(bcrypt) >= 3.1.3, but none of the providers can be installed
  - cannot install both python3-bcrypt-3.1.6-2.el8.1.ppc64le and python3-bcrypt-3.2.0-2.ibm.el8.ppc64le
  - cannot install the best update candidate for package python3-paramiko-2.9.0-2.ibm.el8.noarch
  - problem with installed package python3-bcrypt-3.2.0-2.ibm.el8.ppc64le
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)

Cause

All PowerVC python packages, installed on Novalink, are not version locked. As a result, when yum update is executed  PowerVC python packages  conflict with  RHEL OS provided packages.

Environment

PowerVC 2.1.1 , PowerVC2.1.1+2.1.1ifix , Novalink - RHEL

Resolving The Problem

Before running yum update on RHEL NL, run below commands:
/usr/bin/yum -y install python3-dnf-plugin-versionlock
yum versionlock clear
yum versionlock python3*-*.ibm*
yum versionlock insights-client-*

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSVNV4","label":"PowerVM NovaLink"},"ARM Category":[{"code":"a8m0z000000GmyoAAC","label":"Novalink"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
12 July 2023

UID

ibm17011419