Docker install dependencies issue with glibc in Centos 7.3 #30056

Open
Damodharanv opened this Issue Jan 11, 2017 · 5 comments

Projects

None yet

2 participants

@Damodharanv

The issue seems to be strange when the server is updated to latest centos version

Below is the error:

  • sh -c 'sleep 3; yum -y -q install docker-engine'
    Error: Package: glibc-2.17-106.el7_2.4.i686
    Requires: glibc-common = 2.17-106.el7_2.4
    Installed: glibc-common-2.17-157.el7_3.1.x86_64
    glibc-common = 2.17-157.el7_3.1
    Available: glibc-common-2.17-105.el7.x86_64
    glibc-common = 2.17-105.el7
    Available: glibc-common-2.17-106.el7_2.1.x86_64
    glibc-common = 2.17-106.el7_2.1
    Available: glibc-common-2.17-106.el7_2.4.x86_64
    glibc-common = 2.17-106.el7_2.4
    Error: Package: policycoreutils-python-2.2.5-20.el7.x86_64
    Requires: policycoreutils = 2.2.5-20.el7
    Installed: policycoreutils-2.5-9.el7.x86_64
    policycoreutils = 2.5-9.el7
    Available: policycoreutils-2.2.5-20.el7.x86_64
    policycoreutils = 2.2.5-20.el7
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest

glibc package exist on the server is shown below:

glibc-2.17-157.el7_3.1.x86_64
glibc-common-2.17-157.el7_3.1.x86_64

Please suggest on fixing the issue.

Thanks

@thaJeztah
Member

I'm not able to reproduce this; I tried installing docker on a 7.2 host, then updating (yum update) to 7.3. Also tried creating a new 7.2 host, then updating (yum update) and then installing docker, both worked for me.

Could it be that the update from 7.2 to 7.3 was interrupted (outstanding transactions)? Did you reboot the host after upgrading?

During the update process, I see that both glibc and glibc-common are updated;

  Updating   : glibc-common-2.17-157.el7_3.1.x86_64                                                                                             8/349
  Updating   : glibc-2.17-157.el7_3.1.x86_64                                                                                                    9/349

@runcom @andrewhsu any other suggestions?

@thaJeztah
Member

Just to check; which repository are you installing from? What does; cat /etc/yum.repos.d/docker* show? And yum list docker-engine ?

@Damodharanv

Find the repo details below and yum list

[dockerrepo]
name=Docker Repository
baseurl=https://yum.dockerproject.org/repo/main/centos/$releasever/
enabled=1
gpgcheck=1
gpgkey=https://yum.dockerproject.org/gpg

Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Available Packages
docker-engine.x86_64 1.12.6-1.el7.centos dockerrepo

Kernel version is : 3.10.0-514.2.2.el7.x86_64

There is no interruption or outstanding transaction and rebooted the host after upgrade as well.

@thaJeztah
Member

does yum update glibc update the package? Or is something blocking it from being updated?

@Damodharanv

No, There is no package available for update or there is no blocker or outstanding transaction in yum.

Loading mirror speeds from cached hostfile
No packages marked for update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment