LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-13-2017, 10:48 AM   #1
urello
LQ Newbie
 
Registered: Jul 2014
Posts: 13

Rep: Reputation: Disabled
How to resolve failed dependencies which is really exists on server?


Cannot install docker due to failed dependencies
Code:
[root@osboxes osboxes]# rpm -ivh Downloads/docker-engine-1.13.1-1.el7.centos.x86_64.rpm 
error: Failed dependencies:
	libc.so.6()(64bit) is needed by docker-engine-1.13.1-1.el7.centos.x86_64
	libc.so.6(GLIBC_2.14)(64bit) is needed by docker-engine-1.13.1-1.el7.centos.x86_64
	libc.so.6(GLIBC_2.17)(64bit) is needed by docker-engine-1.13.1-1.el7.centos.x86_64
	libc.so.6(GLIBC_2.2.5)(64bit) is needed by docker-engine-1.13.1-1.el7.centos.x86_64
	libc.so.6(GLIBC_2.4)(64bit) is needed by docker-engine-1.13.1-1.el7.centos.x86_64
	libc.so.6(GLIBC_2.9)(64bit) is needed by docker-engine-1.13.1-1.el7.centos.x86_64
	libdevmapper.so.1.02()(64bit) is needed by docker-engine-1.13.1-1.el7.centos.x86_64
	libdevmapper.so.1.02(Base)(64bit) is needed by docker-engine-1.13.1-1.el7.centos.x86_64
	libdevmapper.so.1.02(DM_1_02_97)(64bit) is needed by docker-engine-1.13.1-1.el7.centos.x86_64
	libdl.so.2()(64bit) is needed by docker-engine-1.13.1-1.el7.centos.x86_64
	libltdl.so.7()(64bit) is needed by docker-engine-1.13.1-1.el7.centos.x86_64
	libpthread.so.0()(64bit) is needed by docker-engine-1.13.1-1.el7.centos.x86_64
	libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by docker-engine-1.13.1-1.el7.centos.x86_64
	libpthread.so.0(GLIBC_2.3.2)(64bit) is needed by docker-engine-1.13.1-1.el7.centos.x86_64
	libseccomp.so.2()(64bit) is needed by docker-engine-1.13.1-1.el7.centos.x86_64
	libsystemd.so.0()(64bit) is needed by docker-engine-1.13.1-1.el7.centos.x86_64
	libsystemd.so.0(LIBSYSTEMD_209)(64bit) is needed by docker-engine-1.13.1-1.el7.centos.x86_64
But really failed libs are there
Code:
[root@osboxes osboxes]# ls /lib/libdevmapper.so.1.02 
/lib/libdevmapper.so.1.02
[root@osboxes osboxes]# ls /lib/libc.so.6
/lib/libc.so.6
[root@osboxes osboxes]# ls /lib/libpthread.so.0
/lib/libpthread.so.0
How can I resolve this? I use centos 7.3 in virtualbox and have done yum update prior to everything.
 
Old 02-13-2017, 12:07 PM   #2
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 3,799

Rep: Reputation: 1724Reputation: 1724Reputation: 1724Reputation: 1724Reputation: 1724Reputation: 1724Reputation: 1724Reputation: 1724Reputation: 1724Reputation: 1724Reputation: 1724
The best way to avoid this problem is to STOP installing from RPM files and install from OFFICIAL and SUPPORTED REPOSITORIES whenever possible.

There are two ways to go forward using YUM to install docker. You can install the RHEL approved and vetted version from the CentOS repos, and this is the most stable and supported answer. It is slightly dated, and they run a conservative selection that is focused on stability rather than having the newest. The other is to add the Docker REPO to your yum repos.d so that you can get the very latest. This is what the docker team recommends, but it is slightly more risky. Neither is as risky as manually loading rpm commands against local downloads (though I HAVE made this work when other options failed).

Forgive the caps, but I see this problem more often that I should, and nearly always because someone is bypassing or subverting the approved installation software.

If you Google for instructions they are ALL OVER the web, but this one form the docker doc site looks likely to cover what you need:

https://docs.docker.com/engine/insta.../linux/centos/

Last edited by wpeckham; 02-13-2017 at 12:08 PM.
 
2 members found this post helpful.
Old 02-14-2017, 06:43 AM   #3
urello
LQ Newbie
 
Registered: Jul 2014
Posts: 13

Original Poster
Rep: Reputation: Disabled
I tried to act according to manual in my first approach. I add docker repo but there is only selinux policies.
Code:
[root@osboxes osboxes]# yum repolist
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
repo id                                            repo name                                              status
base/7/i386                                        CentOS-7 - Base                                        7,114
docker-main                                        Docker Repository                                         90
extras/7/i386                                      CentOS-7 - Extras                                          0
updates/7/i386                                     CentOS-7 - Updates                                       623
repolist: 7,827
[root@osboxes osboxes]# yum install docker-engine
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
No package docker-engine available.
Error: Nothing to do
[root@osboxes osboxes]# yum search docker
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
============================================= N/S matched: docker ==============================================
docker-engine-selinux.noarch : SELinux Policies for the open-source application container engine

  Name and summary matches only, use "search all" for everything.
Could you advise on this?
 
Old 02-14-2017, 02:11 PM   #4
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 3,799

Rep: Reputation: 1724Reputation: 1724Reputation: 1724Reputation: 1724Reputation: 1724Reputation: 1724Reputation: 1724Reputation: 1724Reputation: 1724Reputation: 1724Reputation: 1724
1. How EXACTLY did you add the docker repo?

2. Can you copy that repo file for docker into a quote here?

3. Can you also show me the output of the command
Code:
$ yum list docker-engine.x86_64  --showduplicates
We will see if I can figure out what is wrong and set you on a the right next step.
 
Old 02-14-2017, 03:00 PM   #5
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
You have a 64 bit architecture?

docker proper requires it.
 
1 members found this post helpful.
Old 02-14-2017, 03:48 PM   #6
wpeckham
Senior Member
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, Fedora, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, Vsido, tinycore, Q4OS
Posts: 3,799

Rep: Reputation: 1724Reputation: 1724Reputation: 1724Reputation: 1724Reputation: 1724Reputation: 1724Reputation: 1724Reputation: 1724Reputation: 1724Reputation: 1724Reputation: 1724
Quote:
Originally Posted by Habitual View Post
You have a 64 bit architecture?

docker proper requires it.
Thank you! That was a good catch!

KEY question, and I see in your repolist output that you are using i386 repos. I assume that if you hit
Code:
uname -a
it will show you have a 32-bit kernel. Since Docker is 64-bit only, your project is about dead.

For now.

You need 64-bit hardware and a 64-bit install to use Docker, but there are other options that may serve, depending upon your use case. If you REALLY need Docker, then different hardware is going to be required.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
failed dependencies when installing telnet server Deosatyakam Linux - Networking 1 10-03-2006 09:59 PM
resolve dependencies in lfs tomave Linux From Scratch 1 03-12-2006 02:57 PM
SIOCADDRT: File exists SIOCCADDRT: File Exists Failed to bring up eth0. opsraja Linux - Networking 0 01-10-2005 08:29 AM
does pkgtool resolve dependencies? mcd Slackware 3 05-31-2004 09:38 AM
I recieve a failed dependencies error, but I have all required dependencies Laptop2250 Linux - Software 15 02-03-2004 07:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration