CentOS 8.3 - Foreman Installer (and dnf) broken by repo issue with rubygem(rkerberos)

Problem: foreman-installer/dnf breaks on CentOS 8.2 system, now that CentOS 8.3 is available

Expected outcome: Usable dnf / foreman-installer

Foreman and Proxy versions: 2.3.0

Foreman and Proxy plugin versions: 2.3.0

Distribution and version: CentOS 8.2 now that CentOS 8.3 has been release

Other relevant data:

I might as well be the first to report this on the support site :slight_smile:

On a clean install on CentOS 8.2 for a new Smart-Proxy, the installer error was:

020-12-08 22:22:40 [ERROR ] [configure] Execution of '/bin/dnf -d 0 -e 1 -y install foreman-proxy' returned 1: Error:
2020-12-08 22:22:40 [ERROR ] [configure] Problem: package foreman-proxy-2.3.0-1.el8.noarch requires rubygem(rkerberos) >= 0.1.1, but none of the providers can be installed
2020-12-08 22:22:40 [ERROR ] [configure] - cannot install the best candidate for the job
2020-12-08 22:22:40 [ERROR ] [configure] - nothing provides libkadm5clnt_mit.so.11()(64bit) needed by rubygem-rkerberos-0.1.5-18.el8.x86_64
2020-12-08 22:22:40 [ERROR ] [configure] - nothing provides libkadm5clnt_mit.so.11(kadm5clnt_mit_11_MIT)(64bit) needed by rubygem-rkerberos-0.1.5-18.el8.x86_64
2020-12-08 22:22:40 [ERROR ] [configure] /Stage[main]/Foreman_proxy::Install/Package[foreman-proxy]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/dnf -d 0 -e 1 -y install foreman-proxy' returned 1: Error:
2020-12-08 22:22:40 [ERROR ] [configure] Problem: package foreman-proxy-2.3.0-1.el8.noarch requires rubygem(rkerberos) >= 0.1.1, but none of the providers can be installed
2020-12-08 22:22:40 [ERROR ] [configure] - cannot install the best candidate for the job
2020-12-08 22:22:40 [ERROR ] [configure] - nothing provides libkadm5clnt_mit.so.11()(64bit) needed by rubygem-rkerberos-0.1.5-18.el8.x86_64
2020-12-08 22:22:40 [ERROR ] [configure] - nothing provides libkadm5clnt_mit.so.11(kadm5clnt_mit_11_MIT)(64bit) needed by rubygem-rkerberos-0.1.5-18.el8.x86_64

On The Foreman All-In-One Server, a dnf upgrade aborts with:

sudo dnf upgrade
Last metadata expiration check: 1:04:10 ago on Tue 08 Dec 2020 21:28:36 AEDT.
Error: 
 Problem 1: package rubygem-rkerberos-0.1.5-18.el8.x86_64 requires libkadm5clnt_mit.so.11()(64bit), but none of the providers can be installed
  - package rubygem-rkerberos-0.1.5-18.el8.x86_64 requires libkadm5clnt_mit.so.11(kadm5clnt_mit_11_MIT)(64bit), but none of the providers can be installed
  - cannot install both libkadm5-1.18.2-5.el8.x86_64 and libkadm5-1.17-18.el8.x86_64
  - cannot install the best update candidate for package rubygem-rkerberos-0.1.5-18.el8.x86_64
  - cannot install the best update candidate for package libkadm5-1.17-18.el8.x86_64
 Problem 2: package foreman-proxy-2.3.0-1.el8.noarch requires rubygem(rkerberos) >= 0.1.1, but none of the providers can be installed
  - package rubygem-rkerberos-0.1.5-18.el8.x86_64 requires libkadm5clnt_mit.so.11()(64bit), but none of the providers can be installed
  - package rubygem-rkerberos-0.1.5-18.el8.x86_64 requires libkadm5clnt_mit.so.11(kadm5clnt_mit_11_MIT)(64bit), but none of the providers can be installed
  - package libkadm5-1.17-18.el8.x86_64 requires libkdb5.so.9()(64bit), but none of the providers can be installed
  - package libkadm5-1.17-18.el8.x86_64 requires libkdb5.so.9(kdb5_9_MIT)(64bit), but none of the providers can be installed
  - package libkadm5-1.17-18.el8.x86_64 requires krb5-libs(x86-64) = 1.17-18.el8, but none of the providers can be installed
  - cannot install both krb5-libs-1.18.2-5.el8.x86_64 and krb5-libs-1.17-18.el8.x86_64
  - cannot install the best update candidate for package krb5-libs-1.17-18.el8.x86_64
  - cannot install the best update candidate for package foreman-proxy-2.3.0-1.el8.noarch
(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)

Only yesterday CentOS 8.3 came out. We couldn’t rebuild it before because it would break all existing users on 8.2…
https://github.com/theforeman/foreman-packaging/pull/6099