Katello installs for 4.0 and 4.1 are broken due to qpid-proton update in EPEL on EL7

Either wait until tfm-rubygem-qpid_proton for 0.35.0 is available or use --skip-broken as suggested. That should block out the qpid-proton-c update to 0.35.0 for the meantime.

Argh. Yeah, this bit me today trying to do a simple monthly OS patch via yum update on my Katello 4.2-rc1 server.

Using --skip-broken DOES indeed work (98% of the time for me in other situations, --skip-broken just makes things worse, hahahahaha)

So yeah, hopefully in a month the corresponding package(s) will be updated and this will no longer be an issue.

@caseybea

I’m still having a ton of errors. How can I tell the foreman-installer to skip broken packages?

2021-09-06 05:32:36 [ERROR ] [configure] Execution of '/bin/yum -d 0 -e 0 -y install katello' returned 1: Error: Package: tfm-rubygem-qpid_proton-0.34.0-2.el7.x86_64 (katello)
2021-09-06 05:32:36 [ERROR ] [configure] Requires: qpid-proton-c = 0.34.0
2021-09-06 05:32:36 [ERROR ] [configure] Installed: qpid-proton-c-0.35.0-1.el7.x86_64 (@epel7-centos7-x86_64)
2021-09-06 05:32:36 [ERROR ] [configure] qpid-proton-c = 0.35.0-1.el7
2021-09-06 05:32:36 [ERROR ] [configure] Available: qpid-proton-c-0.14.0-2.el7.x86_64 (centos7-x86_64-extras)
2021-09-06 05:32:36 [ERROR ] [configure] qpid-proton-c = 0.14.0-2.el7
2021-09-06 05:32:36 [ERROR ] [configure] Available: qpid-proton-c-0.32.0-2.el7.x86_64 (epel7-centos7-x86_64)
2021-09-06 05:32:36 [ERROR ] [configure] qpid-proton-c = 0.32.0-2.el7
2021-09-06 05:32:36 [ERROR ] [configure] Available: qpid-proton-c-0.33.0-1.el7.x86_64 (epel7-centos7-x86_64)
2021-09-06 05:32:36 [ERROR ] [configure] qpid-proton-c = 0.33.0-1.el7
2021-09-06 05:32:36 [ERROR ] [configure] Available: qpid-proton-c-0.34.0-1.el7.x86_64 (epel7-centos7-x86_64)
2021-09-06 05:32:36 [ERROR ] [configure] qpid-proton-c = 0.34.0-1.el7
2021-09-06 05:32:36 [ERROR ] [configure] Available: qpid-proton-c-0.34.0-2.el7.x86_64 (epel7-centos7-x86_64)
2021-09-06 05:32:36 [ERROR ] [configure] qpid-proton-c = 0.34.0-2.el7
2021-09-06 05:32:36 [ERROR ] [configure] You could try using --skip-broken to work around the problem
2021-09-06 05:32:36 [ERROR ] [configure] You could try running: rpm -Va --nofiles --nodigest
2021-09-06 05:32:36 [ERROR ] [configure] /Stage[main]/Katello/Package[katello]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/yum -d 0 -e 0 -y install katello' returned 1: Error: Package: tfm-rubygem-qpid_proton-0.34.0-2.el7.x86_64 (katello)
2021-09-06 05:32:36 [ERROR ] [configure] Requires: qpid-proton-c = 0.34.0
2021-09-06 05:32:36 [ERROR ] [configure] Installed: qpid-proton-c-0.35.0-1.el7.x86_64 (@epel7-centos7-x86_64)
2021-09-06 05:32:36 [ERROR ] [configure] qpid-proton-c = 0.35.0-1.el7
2021-09-06 05:32:36 [ERROR ] [configure] Available: qpid-proton-c-0.14.0-2.el7.x86_64 (centos7-x86_64-extras)
2021-09-06 05:32:36 [ERROR ] [configure] qpid-proton-c = 0.14.0-2.el7
2021-09-06 05:32:36 [ERROR ] [configure] Available: qpid-proton-c-0.32.0-2.el7.x86_64 (epel7-centos7-x86_64)
2021-09-06 05:32:36 [ERROR ] [configure] qpid-proton-c = 0.32.0-2.el7
2021-09-06 05:32:36 [ERROR ] [configure] Available: qpid-proton-c-0.33.0-1.el7.x86_64 (epel7-centos7-x86_64)
2021-09-06 05:32:36 [ERROR ] [configure] qpid-proton-c = 0.33.0-1.el7
2021-09-06 05:32:36 [ERROR ] [configure] Available: qpid-proton-c-0.34.0-1.el7.x86_64 (epel7-centos7-x86_64)
2021-09-06 05:32:36 [ERROR ] [configure] qpid-proton-c = 0.34.0-1.el7
2021-09-06 05:32:36 [ERROR ] [configure] Available: qpid-proton-c-0.34.0-2.el7.x86_64 (epel7-centos7-x86_64)
2021-09-06 05:32:36 [ERROR ] [configure] qpid-proton-c = 0.34.0-2.el7
2021-09-06 05:32:36 [ERROR ] [configure] You could try using --skip-broken to work around the problem
2021-09-06 05:32:36 [ERROR ] [configure] You could try running: rpm -Va --nofiles --nodigest
and more and more....

Or maybe I should install katello with yum --skip-broken and after that rerun the foreman-installe?

Did you stop all foreman services before running foreman-installer as suggested in the upgrade docs?

I didn’t. Now I did and rerun the installer. Same result.

That’s odd. Where are those repositories “epel7-centos7-x86_64” and others coming from? Those are not standard names from the official release repositories thus I have assumed you are connected to your own katello server (the one you are updating).

I am connected to the Spacewak that I’m going to replace with Katello.

O.K. Make sure to disable epel before running foreman-installer. foreman-installer runs yum update at some point and if there is something broken then it’s going to pop up.

Nah, EPEL is required on EL7 installs, sadly.

And yes. EPEL updated qpid-proton again, and we need to fix our packages (again).

I am currently getting:

Error: Package: tfm-rubygem-qpid_proton-0.34.0-3.el7.x86_64 (Katello_main)
           Requires: qpid-proton-c = 0.34.0
           Available: qpid-proton-c-0.35.0-1.el7.x86_64 (EPEL)
               qpid-proton-c = 0.35.0-1.el7

I’m quite frustrated. I reinstalled CentOS 7 from scratch, followed the instructions and when I run the Foreman installer with Katello scenario, I get the same errors about tfm-rubygem-qpid_proton-0.34.0-3.el7.x86_64.

Is there any way I can pass --skip-broken to yum when Foreman is doing his stuff?

2021-09-06 10:50:45 [NOTICE] [root] Loading installer configuration. This will take some time.
2021-09-06 10:50:49 [NOTICE] [root] Running installer with log based terminal output at level NOTICE.
2021-09-06 10:50:49 [NOTICE] [root] Use -l to set the terminal output log level to ERROR, WARN, NOTICE, INFO, or DEBUG. See --full-help for definitions.
2021-09-06 10:50:52 [NOTICE] [configure] Starting system configuration.
2021-09-06 10:52:20 [NOTICE] [configure] 250 configuration steps out of 1874 steps complete.
2021-09-06 10:52:23 [ERROR ] [configure] Execution of '/bin/yum -d 0 -e 0 -y install katello' returned 1: Error: Package: tfm-rubygem-qpid_proton-0.34.0-3.el7.x86_64 (katello)
2021-09-06 10:52:23 [ERROR ] [configure] Requires: qpid-proton-c = 0.34.0
2021-09-06 10:52:23 [ERROR ] [configure] Available: qpid-proton-c-0.14.0-2.el7.x86_64 (extras)
2021-09-06 10:52:23 [ERROR ] [configure] qpid-proton-c = 0.14.0-2.el7
2021-09-06 10:52:23 [ERROR ] [configure] Available: qpid-proton-c-0.35.0-1.el7.x86_64 (epel)
2021-09-06 10:52:23 [ERROR ] [configure] qpid-proton-c = 0.35.0-1.el7
2021-09-06 10:52:23 [ERROR ] [configure] You could try using --skip-broken to work around the problem
2021-09-06 10:52:23 [ERROR ] [configure] You could try running: rpm -Va --nofiles --nodigest
2021-09-06 10:52:23 [ERROR ] [configure] /Stage[main]/Katello/Package[katello]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/yum -d 0 -e 0 -y install katello' returned 1: Error: Package: tfm-rubygem-qpid_proton-0.34.0-3.el7.x86_64 (katello)
2021-09-06 10:52:23 [ERROR ] [configure] Requires: qpid-proton-c = 0.34.0
2021-09-06 10:52:23 [ERROR ] [configure] Available: qpid-proton-c-0.14.0-2.el7.x86_64 (extras)
2021-09-06 10:52:23 [ERROR ] [configure] qpid-proton-c = 0.14.0-2.el7
2021-09-06 10:52:23 [ERROR ] [configure] Available: qpid-proton-c-0.35.0-1.el7.x86_64 (epel)
2021-09-06 10:52:23 [ERROR ] [configure] qpid-proton-c = 0.35.0-1.el7
2021-09-06 10:52:23 [ERROR ] [configure] You could try using --skip-broken to work around the problem
2021-09-06 10:52:23 [ERROR ] [configure] You could try running: rpm -Va --nofiles --nodigest
2021-09-06 10:56:06 [NOTICE] [configure] 500 configuration steps out of 1876 steps complete.
2021-09-06 10:56:08 [NOTICE] [configure] 750 configuration steps out of 1878 steps complete.
2021-09-06 10:57:32 [NOTICE] [configure] 1000 configuration steps out of 1884 steps complete.
2021-09-06 10:57:36 [NOTICE] [configure] 1250 configuration steps out of 1900 steps complete.
2021-09-06 10:57:59 [ERROR ] [configure] Execution of '/bin/yum -d 0 -e 0 -y install tfm-rubygem-katello' returned 1: Error: Package: tfm-rubygem-qpid_proton-0.34.0-3.el7.x86_64 (katello)
2021-09-06 10:57:59 [ERROR ] [configure] Requires: qpid-proton-c = 0.34.0
2021-09-06 10:57:59 [ERROR ] [configure] Available: qpid-proton-c-0.14.0-2.el7.x86_64 (extras)
2021-09-06 10:57:59 [ERROR ] [configure] qpid-proton-c = 0.14.0-2.el7
2021-09-06 10:57:59 [ERROR ] [configure] Available: qpid-proton-c-0.35.0-1.el7.x86_64 (epel)
2021-09-06 10:57:59 [ERROR ] [configure] qpid-proton-c = 0.35.0-1.el7
2021-09-06 10:57:59 [ERROR ] [configure] You could try using --skip-broken to work around the problem
2021-09-06 10:57:59 [ERROR ] [configure] You could try running: rpm -Va --nofiles --nodigest
2021-09-06 10:57:59 [ERROR ] [configure] /Stage[main]/Katello::Application/Foreman::Plugin[katello]/Package[tfm-rubygem-katello]/ensure: change from 'purged' to 'present' failed: Execution of '/bin/yum -d 0 -e 0 -y install tfm-rubygem-katello' returned 1: Error: Package: tfm-rubygem-qpid_proton-0.34.0-3.el7.x86_64 (katello)
2021-09-06 10:57:59 [ERROR ] [configure] Requires: qpid-proton-c = 0.34.0
2021-09-06 10:57:59 [ERROR ] [configure] Available: qpid-proton-c-0.14.0-2.el7.x86_64 (extras)
2021-09-06 10:57:59 [ERROR ] [configure] qpid-proton-c = 0.14.0-2.el7
2021-09-06 10:57:59 [ERROR ] [configure] Available: qpid-proton-c-0.35.0-1.el7.x86_64 (epel)
2021-09-06 10:57:59 [ERROR ] [configure] qpid-proton-c = 0.35.0-1.el7
2021-09-06 10:57:59 [ERROR ] [configure] You could try using --skip-broken to work around the problem
2021-09-06 10:57:59 [ERROR ] [configure] You could try running: rpm -Va --nofiles --nodigest
2021-09-06 10:58:07 [NOTICE] [configure] 1500 configuration steps out of 1900 steps complete.
2021-09-06 10:58:26 [NOTICE] [configure] 1750 configuration steps out of 1900 steps complete.
2021-09-06 10:59:34 [NOTICE] [configure] System configuration has finished.

  There were errors detected during install.

While not a solution for everyone, for a fresh installation today I’d pick EL8 and not EL7 (see Deprecation plans for EL7, Debian 10 and Ubuntu 18.04 as well).

Hi @ekohl,

An operating system like Red Hat Enterprise Linux 7 that is still supported by the vendor for more than 2 years is to be be considered obsolete?

:frowning: This the first time I see developers that wish to drop support of a supported operating system :frowning:

In general it is other way around, that a software vendor does not want to support a newer version of an operating system.

Do I understand your post correctly: “Admins running Foreman+Katello on EL7 get stuck here?”

Regards,

Jan Gerrit

You shouldn’t have done that. Now you have lost qpid-proton-c-0.34.0. EPEL 7 doesn’t keep older versions, so now with a fresh installation you only have qpid-proton-c-0.35.0-1.el7.x86_64 in epel and you cannot install 0.34.0 anymore.

So, either you wait until tfm-rubygem-qpid_proton for 0.35.0 is available or you search if you can find qpid-proton-c 0.34.0 somewhere to download and install it on your system. You probably also need python36-qpid-proton.x86_64 for 0.34.0. After you have manually installed it you should be able to run foreman-installer after you have disabled the epel repository.

If the foreman-installer is missing some other packages from epel you have to install from epel and then run foreman-installer again until you have everything for foreman-installer to finish successfully. But I don’t know if it’s worth on a fresh installation on el7. It’s easier if it’s an upgrade from a previous version because then most packages are already installed.

1 Like

I had the same issue…
To avoid this, I did :

 wget ftp://ftp.pbone.net/mirror/download.fedora.redhat.com/pub/fedora/epel/7/x86_64/Packages/q/qpid-proton-c-0.34.0-2.el7.x86_64.rpm
 rpm -ivh qpid-proton-c-0.34.0-2.el7.x86_64.rpm

and I reran the installer.

2 Likes

@jgkootstra Please move EL7 deprecation discussion over to the RFC.

Maybe I should have mentioned that it would be a good workaround in the short term until the packaging issue is resolved.

ok

Thank you sir! I successfully installed Katello.

Update: I was no longer able to get the package from the URL posted by @denicfr, but I was able to find this one:

wget ftp://ftp.pbone.net/mirror/archive.fedoraproject.org/epel/8.3.2021-05-20/Everything/x86_64/Packages/q/qpid-proton-c-0.34.0-1.el8.x86_64.rpm

FWIW, you can get the builds directly from Fedora’s Koji at qpid-proton-0.34.0-2.el7 | Build Info | koji