Experiencing yum upgrade issue

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

Expected outcome:

Successful yum upgrade

Foreman and Proxy versions:

foreman-3.2.0-1.el8.noarch
katello-4.4.0-1.el8.noarch

Foreman and Proxy plugin versions:

Distribution and version:

Other relevant data:

1 Like

Hi @grimzly welcome.

We had a PR ready to land with createrepo_c 0.20.0, this will probably fix this issue.

Can you please try to run the update again and see if it will get fixed?

1 Like

Seems like it may get past the first problem reported, but it’s still reporting the second.

Error:
Problem: 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

@grimzly what OS of EL8 is being used on this installation?

I can see here that it’s provided by Appstream on CentosStream and Alma/Rocky.

Doing a quick search on google, I found this dnf update - none of the providers can be installed - CentOS might be related

1 Like

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.