Katello 4.4 Update Woes

Problem:

I have troubles updating an existing Foreman 3.1 / Katello 4.3 installation on a CentOS 8 Stream system to Foreman 3.2 / Katello 4.4.

After updating the Foreman/Katello repositories and clearing the DNF cache, running dnf update returns this:

# dnf update
Last metadata expiration check: 0:54:16 ago on Tue 29 Mar 2022 09:39:02 AM CEST.
Error:
 Problem 1: package centos-stream-repos-8-4.el8.noarch requires centos-gpg-keys = 1:8-4.el8, but none of the providers can be installed
  - cannot install both centos-gpg-keys-1:8-5.el8.noarch and centos-gpg-keys-1:8-4.el8.noarch
  - cannot install the best update candidate for package centos-stream-repos-8-4.el8.noarch
  - cannot install the best update candidate for package centos-gpg-keys-1:8-4.el8.noarch
 Problem 2: package python38-createrepo_c-0.17.7-4.1.el8.x86_64 requires createrepo_c-libs = 0.17.7-4.1.el8, but none of the providers can be installed
  - cannot install both createrepo_c-libs-0.17.7-5.el8.x86_64 and createrepo_c-libs-0.17.7-4.1.el8.x86_64
  - cannot install both createrepo_c-libs-0.17.7-4.1.el8.x86_64 and createrepo_c-libs-0.17.7-5.el8.x86_64
  - cannot install the best update candidate for package python38-createrepo_c-0.17.7-4.1.el8.x86_64
  - cannot install the best update candidate for package createrepo_c-libs-0.17.7-4.1.el8.x86_64
 Problem 3: createrepo_c-libs-0.17.7-5.el8.i686 has inferior architecture
  - package python3-createrepo_c-0.17.7-5.el8.x86_64 requires createrepo_c-libs = 0.17.7-5.el8, but none of the providers can be installed
  - package python38-pulp-rpm-3.17.3-2.el8.noarch requires python38-createrepo_c >= 0.17.6, but none of the providers can be installed
  - package python38-createrepo_c-0.17.7-4.1.el8.x86_64 requires createrepo_c-libs = 0.17.7-4.1.el8, but none of the providers can be installed
  - package python38-createrepo_c-0.17.6-4.el8.x86_64 requires createrepo_c-libs = 0.17.6-4.el8, but none of the providers can be installed
  - package python38-createrepo_c-0.17.7-1.el8.x86_64 requires createrepo_c-libs = 0.17.7-1.el8, but none of the providers can be installed
  - package python38-createrepo_c-0.17.7-3.2.el8.x86_64 requires createrepo_c-libs = 0.17.7-3.2.el8, but none of the providers can be installed
  - cannot install both createrepo_c-libs-0.17.7-5.el8.x86_64 and createrepo_c-libs-0.17.7-4.1.el8.x86_64
  - cannot install both createrepo_c-libs-0.17.6-4.el8.x86_64 and createrepo_c-libs-0.17.7-5.el8.x86_64
  - cannot install both createrepo_c-libs-0.17.7-1.el8.x86_64 and createrepo_c-libs-0.17.7-5.el8.x86_64
  - cannot install both createrepo_c-libs-0.17.7-3.2.el8.x86_64 and createrepo_c-libs-0.17.7-5.el8.x86_64
  - cannot install both createrepo_c-libs-0.17.7-4.1.el8.x86_64 and createrepo_c-libs-0.17.7-5.el8.x86_64
  - cannot install the best update candidate for package python38-pulp-rpm-3.17.3-2.el8.noarch
  - cannot install the best update candidate for package python3-createrepo_c-0.17.7-4.1.el8.x86_64
(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)

Expected outcome:

DNF update completes successfully.

Foreman and Proxy versions:

Foreman 3.1 / Katello 4.3.0

Foreman and Proxy plugin versions:

  • foreman-3.1.2-2.el8.noarch
  • foreman-proxy-3.1.2-1.el8.noarch
  • katello-4.3.0-1.el8.noarch

Distribution and version:

CentOS Stream release 8

Other relevant data:

1 Like

The first is 2069547 – centos-stream-repos can’t be installed aka Issue #724: The Extras repo started incorrectly (?) shipping centos-gpg-keys (and centos-stream-repos) - centos-infra - Pagure.io

Let me investigate the others.

the others should be fixed by Update patches from CentOS 8 Stream by evgeni · Pull Request #429 · theforeman/pulpcore-packaging · GitHub

thanks for catching those!

2 Likes

Merged and released, you should be good to go with the upgrade!

Awesome, thanks. Update went flawlessly.

1 Like