LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-19-2015, 04:15 AM   #1
redhatwannabe
Member
 
Registered: Dec 2008
Posts: 78

Rep: Reputation: 15
How to resolve this package dependency issue


I installing Oracle LInux 5.8 have encountered the following problems

this is the list of rpm in the directory

Code:
[root@ol5-112-db rpm]# ls -l
total 53244
-rw-r--r-- 1 root root  3075538 Aug  1  2014 cpp-4.1.2-55.el5.x86_64.rpm
-rw-r--r-- 1 root root  5524931 Aug  1  2014 gcc-4.1.2-55.el5.x86_64.rpm
-rw-r--r-- 1 root root  3938320 Aug  1  2014 gcc-c++-4.1.2-55.el5.x86_64.rpm
drwxr-xr-x 2 root root     4096 Dec 16 14:46 glibc
-rw-r--r-- 1 root root  5007928 Aug 17 16:21 glibc-2.5-123.0.1.el5_11.3.x86_64.rpm
-rw-r--r-- 1 root root 17291349 Aug 17 16:21 glibc-common-2.5-123.0.1.el5_11.3.x86_64.rpm
-rw-r--r-- 1 root root  2164451 Aug 17 16:21 glibc-devel-2.5-123.0.1.el5_11.3.i386.rpm
-rw-r--r-- 1 root root  2547659 Aug 17 16:21 glibc-devel-2.5-123.0.1.el5_11.3.x86_64.rpm
-rw-r--r-- 1 root root  2547205 Sep 17  2014 glibc-devel-2.5-123.0.1.x86_64.rpm
-rw-r--r-- 1 root root   616733 Sep 17  2014 glibc-headers-2.5-123.0.1.x86_64.rpm
-rw-r--r-- 1 root root  1579980 Nov 12 01:46 kernel-headers-2.6.18-407.el5.x86_64.rpm
-rw-r--r-- 1 root root    11790 Feb 18  2010 libaio-devel-0.3.106-5.i386.rpm
-rw-r--r-- 1 root root    11675 Feb 18  2010 libaio-devel-0.3.106-5.x86_64.rpm
-rw-r--r-- 1 root root    99620 Aug  1  2014 libgcc-4.1.2-55.el5.i386.rpm
-rw-r--r-- 1 root root   102409 Aug  1  2014 libgcc-4.1.2-55.el5.x86_64.rpm
-rw-r--r-- 1 root root   362778 Aug  1  2014 libstdc++-4.1.2-55.el5.x86_64.rpm
-rw-r--r-- 1 root root  2938653 May 11  2012 libstdc++-devel-4.1.2-52.el5_8.1.x86_64.rpm
-rw-r--r-- 1 root root  2938799 Aug  1  2014 libstdc++-devel-4.1.2-55.el5.x86_64.rpm
-rw-r--r-- 1 root root   193603 Aug  1  2014 sysstat-7.0.2-13.0.1.el5.x86_64.rpm
-rw-r--r-- 1 root root   296693 Dec 28  2011 unixODBC-2.2.11-10.el5.i386.rpm
-rw-r--r-- 1 root root   298179 Dec 28  2011 unixODBC-2.2.11-10.el5.x86_64.rpm
-rw-r--r-- 1 root root   755981 Dec 28  2011 unixODBC-devel-2.2.11-10.el5.i386.rpm
-rw-r--r-- 1 root root   812394 Dec 28  2011 unixODBC-devel-2.2.11-10.el5.x86_64.rpm
-rw-r--r-- 1 root root   564491 Dec 28  2011 unixODBC-libs-2.2.11-10.el5.i386.rpm
-rw-r--r-- 1 root root   567675 Dec 28  2011 unixODBC-libs-2.2.11-10.el5.x86_64.rpm
when I chained installed i encounter the following problem:

Code:
[root@ol5-112-db rpm]# ls -l
total 53244
-rw-r--r-- 1 root root  3075538 Aug  1  2014 cpp-4.1.2-55.el5.x86_64.rpm
-rw-r--r-- 1 root root  5524931 Aug  1  2014 gcc-4.1.2-55.el5.x86_64.rpm
-rw-r--r-- 1 root root  3938320 Aug  1  2014 gcc-c++-4.1.2-55.el5.x86_64.rpm
drwxr-xr-x 2 root root     4096 Dec 16 14:46 glibc
-rw-r--r-- 1 root root  5007928 Aug 17 16:21 glibc-2.5-123.0.1.el5_11.3.x86_64.rpm
-rw-r--r-- 1 root root 17291349 Aug 17 16:21 glibc-common-2.5-123.0.1.el5_11.3.x86_64.rpm
-rw-r--r-- 1 root root  2164451 Aug 17 16:21 glibc-devel-2.5-123.0.1.el5_11.3.i386.rpm
-rw-r--r-- 1 root root  2547659 Aug 17 16:21 glibc-devel-2.5-123.0.1.el5_11.3.x86_64.rpm
-rw-r--r-- 1 root root  2547205 Sep 17  2014 glibc-devel-2.5-123.0.1.x86_64.rpm
-rw-r--r-- 1 root root   616733 Sep 17  2014 glibc-headers-2.5-123.0.1.x86_64.rpm
-rw-r--r-- 1 root root  1579980 Nov 12 01:46 kernel-headers-2.6.18-407.el5.x86_64.rpm
-rw-r--r-- 1 root root    11790 Feb 18  2010 libaio-devel-0.3.106-5.i386.rpm
-rw-r--r-- 1 root root    11675 Feb 18  2010 libaio-devel-0.3.106-5.x86_64.rpm
-rw-r--r-- 1 root root    99620 Aug  1  2014 libgcc-4.1.2-55.el5.i386.rpm
-rw-r--r-- 1 root root   102409 Aug  1  2014 libgcc-4.1.2-55.el5.x86_64.rpm
-rw-r--r-- 1 root root   362778 Aug  1  2014 libstdc++-4.1.2-55.el5.x86_64.rpm
-rw-r--r-- 1 root root  2938653 May 11  2012 libstdc++-devel-4.1.2-52.el5_8.1.x86_64.rpm
-rw-r--r-- 1 root root  2938799 Aug  1  2014 libstdc++-devel-4.1.2-55.el5.x86_64.rpm
-rw-r--r-- 1 root root   193603 Aug  1  2014 sysstat-7.0.2-13.0.1.el5.x86_64.rpm
-rw-r--r-- 1 root root   296693 Dec 28  2011 unixODBC-2.2.11-10.el5.i386.rpm
-rw-r--r-- 1 root root   298179 Dec 28  2011 unixODBC-2.2.11-10.el5.x86_64.rpm
-rw-r--r-- 1 root root   755981 Dec 28  2011 unixODBC-devel-2.2.11-10.el5.i386.rpm
-rw-r--r-- 1 root root   812394 Dec 28  2011 unixODBC-devel-2.2.11-10.el5.x86_64.rpm
-rw-r--r-- 1 root root   564491 Dec 28  2011 unixODBC-libs-2.2.11-10.el5.i386.rpm
-rw-r--r-- 1 root root   567675 Dec 28  2011 unixODBC-libs-2.2.11-10.el5.x86_64.rpm

Code:
[root@ol5-112-db rpm]# rpm -Uvh *.rpm
warning: package glibc-devel = 2.5-123.0.1.el5_11.3 was already added, skipping glibc-devel < 2.5-123.0.1
warning: package libstdc++-devel = 4.1.2-52.el5_8.1 was already added, replacing with libstdc++-devel >= 4.1.2-55.el5
error: Failed dependencies:
        glibc-headers = 2.5-123.0.1.el5_11.3 is needed by glibc-devel-2.5-123.0.1.el5_11.3.i386
        glibc-headers = 2.5-123.0.1.el5_11.3 is needed by glibc-devel-2.5-123.0.1.el5_11.3.x86_64
        glibc = 2.5-123.0.1 is needed by glibc-headers-2.5-123.0.1.x86_64
        glibc-common = 2.5-81 is needed by (installed) glibc-2.5-81.i686
what's the problem here? I just could not figure out what's wrong

thanks
 
Old 12-19-2015, 04:58 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,409
Blog Entries: 55

Rep: Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582Reputation: 3582
Quote:
Originally Posted by redhatwannabe View Post
what's the problem here?
First of all Oracle Linux 5 is at Update 11.
Secondly its EOL is March 2017 so ensure you should be using 5 and not 6.
Third you should not be using low level tools like 'rpm' (you will know when you really need it) but use the high level package management tools, which in your case means YUM.
Fourth, when you post diagnostic nfo then also post the actual commands you encountered problems with and their respective stdout + stderr output.
 
  


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
How to resolve dependency loop? urello Linux - General 1 11-06-2015 12:44 PM
Yum Package Dependency issue linu07 Linux - Server 6 08-02-2015 12:30 AM
Can 'dpkg -i' resolve dependency issue automatically? Akhran Debian 13 01-04-2010 09:54 PM
Is Aptitude capable of installing local .deb package and resolve dependency issue? Akhran Debian 3 07-06-2009 05:05 PM
RH 8.0 - Minimal package install- RPM dependency issue johnrams Red Hat 3 02-17-2009 08:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:02 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration