Hide Forgot
Description of problem: There is an error when user tries to install openshift-clients RPM from 4.1 when atomic-openshift-clients 4.0 is already installed. Version-Release number of selected component (if applicable): openshift-clients-4.1.0-201904110044.git.0.ac50 How reproducible: always Steps to Reproduce: 1. sudo dnf install openshift-clients Actual results: > Error: Transaction check error: > file /etc/bash_completion.d/kubectl from install of openshift-clients-4.1.0-201904110044.git.0.ac50235.el7.x86_64 conflicts with file from package atomic-openshift-clients-4.0.0-0.176.0.git.0.1d3f7e4.el7.x86_64 > ... Expected results: the old RPM gets replaced
This could also be a problem for customer's with the 3.x client installed. Trying to install openshift-clients with atomic-openshift-clients 3.x installed triggers an error. It's really more of a nuisance, but a clean upgrade to 4.x would be a good experience.
In 4.x the openshift build provides openshift-hyperkube which obsoletes atomic-openshift-{hyperkube,node}. I'm going to assume that's not a problem because nobody should be upgrading their nodes this way (but feel free to correct me). It also creates the openshift-clients RPM which seems to be the only thing at issue here.
https://github.com/openshift/origin/pull/22764
Verified with latest version, the issue has fixed: Total 1.1 MB/s | 16 MB 00:14 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : openshift-clients-4.1.0-201905132354.git.0.57d52b2.el7.x86_64 1/2 Obsoleting : atomic-openshift-clients-3.11.115-1.git.0.419d482.el7.x86_64 2/2 Running scriptlet: atomic-openshift-clients-3.11.115-1.git.0.419d482.el7.x86_64 2/2 Verifying : openshift-clients-4.1.0-201905132354.git.0.57d52b2.el7.x86_64 1/2 Verifying : atomic-openshift-clients-3.11.115-1.git.0.419d482.el7.x86_64 2/2 Installed: openshift-clients.x86_64 4.1.0-201905132354.git.0.57d52b2.el7
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0758