Problem:
Some time since upgrading foreman and katello to latest, yum upgrade now fails with the following:
Error:
Problem 1: package python38-createrepo_c-0.17.7-5.1.el8.x86_64 requires createrepo_c-libs = 0.17.7-5.1.el8, but none of the providers can be installed
cannot install both createrepo_c-libs-0.17.7-6.el8.x86_64 and createrepo_c-libs-0.17.7-5.1.el8.x86_64
cannot install both createrepo_c-libs-0.17.7-5.1.el8.x86_64 and createrepo_c-libs-0.17.7-6.el8.x86_64
cannot install the best update candidate for package python38-createrepo_c-0.17.7-5.1.el8.x86_64
cannot install the best update candidate for package createrepo_c-libs-0.17.7-5.1.el8.x86_64
Problem 2: package bpftrace-0.12.1-4.el8.x86_64 requires libLLVM-12.so()(64bit), but none of the providers can be installed
package bpftrace-0.12.1-4.el8.x86_64 requires libLLVM-12.so(LLVM_12)(64bit), but none of the providers can be installed
cannot install both llvm-libs-14.0.0-2.module_el8.7.0+1142+5343df54.x86_64 and llvm-libs-12.0.0-1.module_el8.5.0+840+21214faf.x86_64
cannot install both llvm-libs-14.0.0-2.module_el8.7.0+1142+5343df54.x86_64 and llvm-libs-12.0.1-1.module_el8.5.0+892+54d791e1.x86_64
cannot install both llvm-libs-14.0.0-2.module_el8.7.0+1142+5343df54.x86_64 and llvm-libs-12.0.1-2.module_el8.5.0+918+ed335b90.x86_64
cannot install both llvm-libs-14.0.0-2.module_el8.7.0+1142+5343df54.x86_64 and llvm-libs-12.0.1-2.module_el8.6.0+937+1cafe22c.x86_64
cannot install both llvm-compat-libs-13.0.1-2.module_el8.7.0+1142+5343df54.x86_64 and llvm-compat-libs-12.0.1-4.module_el8.6.0+1041+0c503ac4.x86_64
cannot install both llvm-compat-libs-13.0.1-2.module_el8.7.0+1142+5343df54.x86_64 and llvm-compat-libs-12.0.1-3.module_el8.6.0+1029+6594c364.x86_64
package libomp-14.0.0-2.module_el8.7.0+1148+09f545ee.x86_64 requires libLLVM-14.so()(64bit), but none of the providers can be installed
package libomp-14.0.0-2.module_el8.7.0+1148+09f545ee.x86_64 requires libLLVM-14.so(LLVM_14)(64bit), but none of the providers can be installed
cannot install the best update candidate for package llvm-compat-libs-12.0.1-4.module_el8.6.0+1041+0c503ac4.x86_64
cannot install the best update candidate for package libomp-13.0.0-1.module_el8.6.0+1029+6594c364.x86_64
cannot install the best update candidate for package bpftrace-0.12.1-4.el8.x86_64
You are on CentOS 8 Stream? It seems bpftrace hasn’t been updated, yet, to match the update libllvm-libs package. This is not a problem of Foreman/Katello. This error should come if you just do an dnf update.
Simple solution: remove bpftrace from you system. That should also remove dependencies. Then run dnf update to get everything up-to-date. After that, try the Foreman upgrade again…
Yeah. I’m just not sure and I’m probably just going to wait a bit to see if package updates resolve this.
I did test removing bptrace which then gave me similar error about bcc package. I removed that as well and could then upgrade all packages. Unfortunately, yum/dnf completely broken afterwards.
It may just be something unique to our server instance. I really appreciate the guidance though.