Bug 1277867
| Summary: | yum install docker fails with dependency conflict | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Heiko W. Rupp <hrupp> |
| Component: | docker | Assignee: | Daniel Walsh <dwalsh> |
| Status: | CLOSED ERRATA | QA Contact: | atomic-bugs <atomic-bugs> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.2 | CC: | hrupp, lsm5, lsu |
| Target Milestone: | rc | Keywords: | Extras |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-03-31 23:22:49 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Heiko W. Rupp
2015-11-04 09:38:59 UTC
For some reason you have a 32 bit package being sucked in? glibc-2.17-78.el7.i686 Any idea why? Do you have some i686 packages installed? If you remove them does docker install work? I did set up 7.2beta from the provided iso as a complete clean install (no upgrade) and then proceeded with the yum install docker, so I did at least not pull it in on purpose. I don't exactly know how to trace what you are looking for, so I've added some output. [root@pintsize hrupp]# yum provides glibc Geladene Plugins: langpacks, product-id, search-disabled-repos, subscription-manager glibc-2.17-55.el7.i686 : The GNU libc libraries Quelle : rhel-7-server-rpms glibc-2.17-55.el7.x86_64 : The GNU libc libraries Quelle : rhel-7-server-rpms glibc-2.17-55.el7_0.1.i686 : The GNU libc libraries Quelle : rhel-7-server-rpms glibc-2.17-55.el7_0.1.x86_64 : The GNU libc libraries Quelle : rhel-7-server-rpms glibc-2.17-55.el7_0.3.i686 : The GNU libc libraries Quelle : rhel-7-server-rpms glibc-2.17-55.el7_0.3.x86_64 : The GNU libc libraries Quelle : rhel-7-server-rpms glibc-2.17-55.el7_0.5.i686 : The GNU libc libraries Quelle : rhel-7-server-rpms glibc-2.17-55.el7_0.5.x86_64 : The GNU libc libraries Quelle : rhel-7-server-rpms glibc-2.17-78.el7.i686 : The GNU libc libraries Quelle : rhel-7-server-rpms glibc-2.17-78.el7.x86_64 : The GNU libc libraries Quelle : rhel-7-server-rpms glibc-2.17-105.el7.x86_64 : The GNU libc libraries Quelle : @anaconda/7.2 # yum repolist Geladene Plugins: langpacks, product-id, search-disabled-repos, subscription-manager Repo-ID Repo-Name: Status !rhel-7-server-extras-rpms/x86_64 Red Hat Enterprise Linux 7 Server - Extras (RPMs) 122 !rhel-7-server-optional-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server - Optional (RPMs) 6.151 !rhel-7-server-rpms/7Server/x86_64 Red Hat Enterprise Linux 7 Server (RPMs) 7.713 repolist: 13.986 This lists the .i686 glibc available on x86_64, but it says the x86_64 version is installed # yum info glibc Geladene Plugins: langpacks, product-id, search-disabled-repos, subscription-manager Installierte Pakete Name : glibc Architektur : x86_64 Version : 2.17 Ausgabe : 105.el7 Größe : 13 M Quelle : installed Aus Quelle : anaconda Zusammenfassung: The GNU libc libraries URL : http://www.gnu.org/software/glibc/ Lizenz : LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ Beschreibung: The glibc package contains standard libraries which are used by : multiple programs on the system. In order to save disk space and : memory, as well as to make upgrading easier, common system code is : kept in one place and shared between programs. This particular package : contains the most important sets of shared libraries: the standard C : library and the standard math library. Without these two libraries, a : Linux system will not function. Verfügbare Pakete Name : glibc Architektur : i686 Version : 2.17 Ausgabe : 78.el7 Größe : 4.2 M Quelle : rhel-7-server-rpms/7Server/x86_64 Zusammenfassung: The GNU libc libraries URL : http://www.gnu.org/software/glibc/ Lizenz : LGPLv2+ and LGPLv2+ with exceptions and GPLv2+ Beschreibung: The glibc package contains standard libraries which are used by : multiple programs on the system. In order to save disk space and : memory, as well as to make upgrading easier, common system code is : kept in one place and shared between programs. This particular package : contains the most important sets of shared libraries: the standard C : library and the standard math library. Without these two libraries, a : Linux system will not function. # yum list installed | grep -i glibc compat-glibc.x86_64 1:2.12-4.el7 @anaconda/7.2 compat-glibc-headers.x86_64 1:2.12-4.el7 @anaconda/7.2 glibc.x86_64 2.17-105.el7 @anaconda/7.2 glibc-common.x86_64 2.17-105.el7 @anaconda/7.2 glibc-devel.x86_64 2.17-105.el7 @anaconda/7.2 glibc-headers.x86_64 2.17-105.el7 @anaconda/7.2 # file !$ file /lib64/libc-2.17.so /lib64/libc-2.17.so: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked (uses shared libs), BuildID[sha1]=0xa6dfa1b0aaf76a2c3c7e4862b9c40d26f88b4dc2, for GNU/Linux 2.6.32, not stripped I was out for a few days and just did a yum update to sh-4.2# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.2 (Maipo) and then yum install docker as described - and this time it worked. So the incompatibility seem to be solved. Running transaction Installieren : audit-libs-python-2.4.1-5.el7.x86_64 1/8 Installieren : libsemanage-python-2.1.10-18.el7.x86_64 2/8 Installieren : checkpolicy-2.1.12-6.el7.x86_64 3/8 Installieren : python-IPy-0.75-6.el7.noarch 4/8 Installieren : setools-libs-3.3.7-46.el7.x86_64 5/8 Installieren : policycoreutils-python-2.2.5-20.el7.x86_64 6/8 Installieren : docker-selinux-1.8.2-8.el7.x86_64 7/8 restorecon: lstat(/var/lib/docker) failed: No such file or directory warning: %post(docker-selinux-1.8.2-8.el7.x86_64) scriptlet failed, exit status 255 Non-fatal POSTIN scriptlet failure in rpm package docker-selinux-1.8.2-8.el7.x86_64 Installieren : docker-1.8.2-8.el7.x86_64 8/8 Überprüfung läuft: setools-libs-3.3.7-46.el7.x86_64 1/8 Überprüfung läuft: python-IPy-0.75-6.el7.noarch 2/8 Überprüfung läuft: docker-1.8.2-8.el7.x86_64 3/8 Überprüfung läuft: checkpolicy-2.1.12-6.el7.x86_64 4/8 Überprüfung läuft: docker-selinux-1.8.2-8.el7.x86_64 5/8 Überprüfung läuft: libsemanage-python-2.1.10-18.el7.x86_64 6/8 Überprüfung läuft: policycoreutils-python-2.2.5-20.el7.x86_64 7/8 Überprüfung läuft: audit-libs-python-2.4.1-5.el7.x86_64 8/8 Installiert: docker.x86_64 0:1.8.2-8.el7 Abhängigkeit installiert: audit-libs-python.x86_64 0:2.4.1-5.el7 checkpolicy.x86_64 0:2.1.12-6.el7 docker-selinux.x86_64 0:1.8.2-8.el7 libsemanage-python.x86_64 0:2.1.10-18.el7 policycoreutils-python.x86_64 0:2.2.5-20.el7 python-IPy.noarch 0:0.75-6.el7 setools-libs.x86_64 0:3.3.7-46.el7 # file /lib64/libc-2.17.so /lib64/libc-2.17.so: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked (uses shared libs), BuildID[sha1]=508f7ff5f9802fe2fe52fd9f5d19d0d732d55a56, for GNU/Linux 2.6.32, not stripped Before we close this, it'd be great if you could also check how things go with the latest build for 1.8.2 https://brewweb.devel.redhat.com/buildinfo?buildID=466768 . This should also handle the restorecon and POSTIN failures that you see in 'yum update' above. Should we set it to modified? Should we set it to modified? Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2016-0536.html |