LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-25-2007, 10:01 AM   #1
bonegang
LQ Newbie
 
Registered: Jun 2007
Posts: 5

Rep: Reputation: 0
Unhappy Yum won't install due to dependencies, NOT shown in deplist


Dear all, Yum won't install packages due to dependencies, yet they are not shown in 'yum deplist somepackage'

I'm rebuilding a Nagios monitor on a new old box, CentOS 4.4

Yum insists there are missing dependency issues and it cannot install apt, nagios, nagios-plugins, nagios-plugins-nrpe etc., etc

The dependencies are for the basics:
-- libc.so.6 (GLIBC_2.4)
-- rtld (GNU_HASH)
-- libcrypto.so.6
-- librpmdb-4.4.so

If I deplist for apt etc., I get an empty list...?

If I yum install the dependencies I get 'nothing to do'

I have downloaded the rpm and run 'rpm -ivh' locally, get failed dependencies

I have 'rpm --rebuilddb'

I have disabled protectbase and added repositories (DAG, RPM mirrors) to yum.repos.d

I have looked though all the threads I could find here and elsewhere but I have yet to come across the resolution.

Basically I am feeling like a complete n00b by now... anyone give me a steer?

Cheers,

Bonegang

Last edited by bonegang; 06-25-2007 at 11:03 AM.
 
Old 06-26-2007, 04:55 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Quote:
Originally Posted by bonegang
Basically I am feeling like a complete n00b by now... anyone give me a steer?

Cheers,

Bonegang
Sure, post the output of the "yum install" command you are using and what follows, and what exact steps you take after. What you say and what yum says can be two different things.
Based on a search of the dependencies you listed, you are trying to install CentOS 5 packages, you must have CentOS 5 repositories because some of those packages exist for CentOS 5, not CentOS 4.4. Only the first one has a package for CentOS 4.4, the other three don't exist for CentOS 4.4, but do for CentOS 5.
 
Old 06-26-2007, 05:21 AM   #3
bonegang
LQ Newbie
 
Registered: Jun 2007
Posts: 5

Original Poster
Rep: Reputation: 0
yum now shows the dependencies in deplist, but still refuses to process them.

So... should I be seeking a way to restrict yum to look only at CentOS 4.4 repositories?

Last edited by bonegang; 06-26-2007 at 05:29 AM.
 
Old 06-26-2007, 05:27 AM   #4
bonegang
LQ Newbie
 
Registered: Jun 2007
Posts: 5

Original Poster
Rep: Reputation: 0
This is a typical result:

>yum install apt
Loading "protectbase" plugin
Setting up Install Process
Setting up repositories
Reading repository metadata in from local files
187 packages excluded due to repository protections
Parsing package install arguments
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package apt.i386 0:0.5.15lorg3.2-1.el5.rf set to be updated
--> Running transaction check
--> Processing Dependency: librpmdb-4.4.so for package: apt
--> Processing Dependency: librpmio-4.4.so for package: apt
--> Processing Dependency: librpm-4.4.so for package: apt
--> Processing Dependency: libc.so.6(GLIBC_2.4) for package: apt
--> Processing Dependency: rtld(GNU_HASH) for package: apt
--> Processing Dependency: libreadline.so.5 for package: apt
--> Finished Dependency Resolution
Error: Missing Dependency: librpmdb-4.4.so is needed by package apt
Error: Missing Dependency: librpmio-4.4.so is needed by package apt
Error: Missing Dependency: librpm-4.4.so is needed by package apt
Error: Missing Dependency: libc.so.6(GLIBC_2.4) is needed by package apt
Error: Missing Dependency: rtld(GNU_HASH) is needed by package apt
Error: Missing Dependency: libreadline.so.5 is needed by package apt

Cheers, Bonegang
 
Old 06-26-2007, 06:08 AM   #5
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Funny!...Why would yum want to upgrade something that appears to be installed?
Quote:
---> Package apt.i386 0:0.5.15lorg3.2-1.el5.rf set to be updated
 
Old 06-26-2007, 06:36 AM   #6
bonegang
LQ Newbie
 
Registered: Jun 2007
Posts: 5

Original Poster
Rep: Reputation: 0
t'aint there though.

apt is not installed, but there is an apt directory under /etc/apt/sources.list.d that contains repository listings for centos and rpmforge.
 
Old 06-27-2007, 07:52 AM   #7
bonegang
LQ Newbie
 
Registered: Jun 2007
Posts: 5

Original Poster
Rep: Reputation: 0
I gave up, wiped and re-installed the CentOS 4.4 vanilla.

Yum now works fine, installing apt no problems, and the first 'yum update' is busy churning through 172 updated packages.

My suspicion is that my problems may return when I install rpmforge to gain access to the Nagios packages, in that it will point to the latest repositories rather than those that match my install. If this is the case I will post again.

Bonegang

Last edited by bonegang; 06-27-2007 at 08:06 AM.
 
  


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
Yum install dependencies? phantom_cyph Linux - Software 32 03-27-2007 02:48 AM
can't install k3b due to unmet dependencies Mathsniper Debian 7 02-13-2006 11:02 AM
can't install k3b due to unmet dependencies Mathsniper Debian 10 01-18-2006 05:01 PM
Can't install Mplayer due to unresolvable dependencies Crushing Belial Debian 5 12-09-2005 02:03 PM
apt-get install not working due to unmet dependencies ibrewale Debian 10 07-26-2005 01:13 PM


All times are GMT -5. The time now is 09:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration