error when trying to install katello -- yum dependency hell
hello,
I'm attempting to install katello and getting errors with yum.
yum update runs fine with no updates.
I have attached the output along with the attached repolist
--> Finished Dependency Resolution
Error: Package: rubygem-rkerberos-0.1.2-3.el7sat.x86_64 (rhel-7-server-satellite-6.2-rpms)
Requires: libkadm5clnt_mit.so.8()(64bit)
Available: krb5-libs-1.11.3-49.el7.x86_64 (rhel-7-server-rpms)
libkadm5clnt_mit.so.8()(64bit)
Available: krb5-libs-1.12.2-14.el7.x86_64 (rhel-7-server-rpms)
libkadm5clnt_mit.so.8()(64bit)
Available: krb5-libs-1.12.2-15.el7_1.x86_64 (rhel-7-server-rpms)
libkadm5clnt_mit.so.8()(64bit)
Available: krb5-libs-1.13.2-10.el7.x86_64 (rhel-7-server-rpms)
libkadm5clnt_mit.so.8()(64bit)
Available: krb5-libs-1.13.2-12.el7_2.x86_64 (rhel-7-server-rpms)
libkadm5clnt_mit.so.8()(64bit)
Installed: krb5-libs-1.15.1-8.el7.x86_64 (@rhel-7-server-rpms)
Not found
Error: Package: selinux-policy-targeted-3.13.1-60.el7_2.9.noarch (rhel-7-server-rpms)
Requires: selinux-policy = 3.13.1-60.el7_2.9
Installed: selinux-policy-3.13.1-166.el7_4.5.noarch (@rhel-7-server-rpms)
selinux-policy = 3.13.1-166.el7_4.5
Available: selinux-policy-3.12.1-153.el7.noarch (rhel-7-server-rpms)
selinux-policy = 3.12.1-153.el7
Available: selinux-policy-3.12.1-153.el7_0.10.noarch (rhel-7-server-rpms)
selinux-policy = 3.12.1-153.el7_0.10
Available: selinux-policy-3.12.1-153.el7_0.11.noarch (rhel-7-server-rpms)
selinux-policy = 3.12.1-153.el7_0.11
Available: selinux-policy-3.12.1-153.el7_0.12.noarch (rhel-7-server-rpms)
selinux-policy = 3.12.1-153.el7_0.12
Available: selinux-policy-3.12.1-153.el7_0.13.noarch (rhel-7-server-rpms)
selinux-policy = 3.12.1-153.el7_0.13
Available: selinux-policy-3.13.1-23.el7.noarch (rhel-7-server-rpms)
selinux-policy = 3.13.1-23.el7
Available: selinux-policy-3.13.1-23.el7_1.7.noarch (rhel-7-server-rpms)
selinux-policy = 3.13.1-23.el7_1.7
Available: selinux-policy-3.13.1-23.el7_1.8.noarch (rhel-7-server-rpms)
selinux-policy = 3.13.1-23.el7_1.8
Available: selinux-policy-3.13.1-23.el7_1.13.noarch (rhel-7-server-rpms)
selinux-policy = 3.13.1-23.el7_1.13
Available: selinux-policy-3.13.1-23.el7_1.17.noarch (rhel-7-server-rpms)
selinux-policy = 3.13.1-23.el7_1.17
Available: selinux-policy-3.13.1-23.el7_1.18.noarch (rhel-7-server-rpms)
selinux-policy = 3.13.1-23.el7_1.18
Available: selinux-policy-3.13.1-23.el7_1.21.noarch (rhel-7-server-rpms)
selinux-policy = 3.13.1-23.el7_1.21
Available: selinux-policy-3.13.1-60.el7.noarch (rhel-7-server-rpms)
selinux-policy = 3.13.1-60.el7
Available: selinux-policy-3.13.1-60.el7_2.3.noarch (rhel-7-server-rpms)
selinux-policy = 3.13.1-60.el7_2.3
Available: selinux-policy-3.13.1-60.el7_2.7.noarch (rhel-7-server-rpms)
selinux-policy = 3.13.1-60.el7_2.7
Available: selinux-policy-3.13.1-60.el7_2.9.noarch (rhel-7-server-rpms)
selinux-policy = 3.13.1-60.el7_2.9
Error: Package: libselinux-ruby-2.2.2-6.el7.x86_64 (rhel-7-server-rpms)
Requires: libselinux = 2.2.2-6.el7
Installed: libselinux-2.5-11.el7.i686 (@rhel-7-server-rpms)
libselinux = 2.5-11.el7
Available: libselinux-2.2.2-6.el7.i686 (rhel-7-server-rpms)
libselinux = 2.2.2-6.el7
Error: Package: libdb-cxx-5.3.21-19.el7.x86_64 (rhel-7-server-satellite-6.2-rpms)
Requires: libdb(x86-64) = 5.3.21-19.el7
Installed: libdb-5.3.21-20.el7.x86_64 (@rhel-7-server-rpms)
libdb(x86-64) = 5.3.21-20.el7
Available: libdb-5.3.21-17.el7.x86_64 (rhel-7-server-rpms)
libdb(x86-64) = 5.3.21-17.el7
Available: libdb-5.3.21-17.el7_0.1.x86_64 (rhel-7-server-rpms)
libdb(x86-64) = 5.3.21-17.el7_0.1
Available: libdb-5.3.21-19.el7.x86_64 (rhel-7-server-rpms)
libdb(x86-64) = 5.3.21-19.el7
Error: Package: boost-filesystem-1.53.0-25.el7.x86_64 (rhel-7-server-rpms)
Requires: boost-system(x86-64) = 1.53.0-25.el7
Installed: boost-system-1.53.0-27.el7.x86_64 (@rhel-7-server-rpms)
boost-system(x86-64) = 1.53.0-27.el7
Available: boost-system-1.53.0-18.el7.x86_64 (rhel-7-server-rpms)
boost-system(x86-64) = 1.53.0-18.el7
Available: boost-system-1.53.0-23.el7.x86_64 (rhel-7-server-rpms)
boost-system(x86-64) = 1.53.0-23.el7
Available: boost-system-1.53.0-25.el7.x86_64 (rhel-7-server-rpms)
boost-system(x86-64) = 1.53.0-25.el7
Error: libsemanage conflicts with selinux-policy-targeted-3.13.1-60.el7_2.9.noarch
Error: Package: rubygem-rkerberos-0.1.2-3.el7sat.x86_64 (rhel-7-server-satellite-6.2-rpms)
Requires: libkadm5clnt_mit.so.8(kadm5clnt_mit_8_MIT)(64bit)
Available: krb5-libs-1.11.3-49.el7.x86_64 (rhel-7-server-rpms)
libkadm5clnt_mit.so.8(kadm5clnt_mit_8_MIT)(64bit)
Available: krb5-libs-1.12.2-14.el7.x86_64 (rhel-7-server-rpms)
libkadm5clnt_mit.so.8(kadm5clnt_mit_8_MIT)(64bit)
Available: krb5-libs-1.12.2-15.el7_1.x86_64 (rhel-7-server-rpms)
libkadm5clnt_mit.so.8(kadm5clnt_mit_8_MIT)(64bit)
Available: krb5-libs-1.13.2-10.el7.x86_64 (rhel-7-server-rpms)
libkadm5clnt_mit.so.8(kadm5clnt_mit_8_MIT)(64bit)
Available: krb5-libs-1.13.2-12.el7_2.x86_64 (rhel-7-server-rpms)
libkadm5clnt_mit.so.8(kadm5clnt_mit_8_MIT)(64bit)
Installed: krb5-libs-1.15.1-8.el7.x86_64 (@rhel-7-server-rpms)
Not found
Error: Package: cyrus-sasl-2.1.26-20.el7_2.x86_64 (rhel-7-server-rpms)
Requires: cyrus-sasl-lib(x86-64) = 2.1.26-20.el7_2
Installed: cyrus-sasl-lib-2.1.26-21.el7.x86_64 (@rhel-7-server-rpms)
cyrus-sasl-lib(x86-64) = 2.1.26-21.el7
Available: cyrus-sasl-lib-2.1.26-17.el7.x86_64 (rhel-7-server-rpms)
cyrus-sasl-lib(x86-64) = 2.1.26-17.el7
Available: cyrus-sasl-lib-2.1.26-19.2.el7.x86_64 (rhel-7-server-rpms)
cyrus-sasl-lib(x86-64) = 2.1.26-19.2.el7
Available: cyrus-sasl-lib-2.1.26-20.el7_2.x86_64 (rhel-7-server-rpms)
cyrus-sasl-lib(x86-64) = 2.1.26-20.el7_2
Error: firewalld conflicts with 7:squid-3.3.8-26.el7_2.4.x86_64
Error: Package: rpm-build-4.11.3-17.el7.x86_64 (rhel-7-server-rpms)
Requires: rpm = 4.11.3-17.el7
Installed: rpm-4.11.3-25.el7.x86_64 (@rhel-7-server-rpms)
rpm = 4.11.3-25.el7
Available: rpm-4.11.1-16.el7.x86_64 (rhel-7-server-rpms)
rpm = 4.11.1-16.el7
Available: rpm-4.11.1-18.el7_0.x86_64 (rhel-7-server-rpms)
rpm = 4.11.1-18.el7_0
Available: rpm-4.11.1-25.el7.x86_64 (rhel-7-server-rpms)
rpm = 4.11.1-25.el7
Available: rpm-4.11.3-17.el7.x86_64 (rhel-7-server-rpms)
rpm = 4.11.3-17.el7
Attachments
Responses
Christopher, It almost looks like the instances of yum failures are looking for (unusally) a version lower than what you have installed. Examine the failures of your output and note "Installed" and "Requires" such as this from your output:
Requires: rpm = 4.11.3-17.el7
Installed: rpm-4.11.3-25.el7.x86_64 (@rhel-7-server-rpms)
That's just one example.
What are you connected to in order to acquire rpm updates? Did you by chance build a system with a distro disk that is newer than the updates on a local satellite server? (like you have a satellite with only 7.3 rpms, and your system was built with 7.4?)
Another example from your output:
Requires: selinux-policy = 3.13.1-60.el7_2.9
Installed: selinux-policy-3.13.1-166.el7_4.5.noarch
so your selinux-policy is a higher version that what is being asked for, oddly.
If you have a satellite server, does it have the latest/greatest rpms?
If you are connected to Red Hat directly, can you do a subscription-manager refresh;yum clean all;yum repolist;yum install [yourpackage];
If needed, contact support, and have an sosreport ready.
Christopher,
If you are connected to Red Hat directly, validate your subscribed channels.
If you are connected directly to Red Hat, start with subscription-manager refresh;yum clean all;yum repolist (three commands chained together there).
You might be starving/deprived of needed channels if you are connected to Red Hat. You can list the ones available (after you are subscribed, and ONLY IF needed, run subscription-manager register , and then use subscription-manager repos --list and pay attention to the ones that say "Enabled 0" and search for ones you OUGHT to be subscribed to (generally do not need fastrack, source, debug channels, to name a few, for example).
See this article https://access.redhat.com/solutions/265523 on how to disable/enable repositories, i'd recommend trying the subscription-manager commands in that piece if you have to use it.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
