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 02-19-2010, 01:06 PM   #1
Nanosuz
LQ Newbie
 
Registered: Dec 2008
Distribution: Fedora 9
Posts: 9

Rep: Reputation: 0
Endless Failed Dependencies Installing RPM Files


Hello

I am trying to install a program called PQLII (seismology related).

I'm running Red Hat Linux Fedora 9. When I installed the OS, I selected "Everything".

When I run:

rpm -ivh PQL-2009-246.i386.rpm

it returns:

error: Failed dependencies:
libXFixes.so.3 is needed by PQL-2009-246
libXinerama.so.1 is needed by PQL-2009-246
rtld(GNU_HASH) is needed by PQL-2009-246

OK, so I google the 3 files listed and download them which I found on http://rpm.pbone.net.

None of the filenames listed matched precisely those listed, but I downloaded files that were as near a match as possible, i.e:

libXfixes-4.0.3-3.fc9.i386.rpm
libXinerama-1.0.3-1.fc9.i386.rpm
glibc-2.8-3.i386.rpm

Being the logical type, I first try to install libXfixes-4.0.3-3.fc9.i386.rpm since it's listed first, but it generates:

error: Failed dependencies:
rtld(GNU_HASH) is needed by libXfixes-4.0.3-3.fc9

OK, so then I run:

rpm -ivh glibc-2.8-3.i386.rpm

which generates:

error: Failed dependencies:
glibc-common = 2.8-3 is needed by glibc-2.8-3

Sigh!

I persevere, search for and download glibc-common-2.8-3.i386.rpm.

rpm -ivh glibc-common-2.8-3.i386.rpm

generates:

error: Failed dependencies:
glibc = 2.8-3 is needed by glibc-common-2.8-3
tzdata >= 2003a is needed by glibc-common-2.8-3

Is this normal? How long will this go on? Am I downloading the wrong files?

Many thanks,

Suzan
 
Old 02-19-2010, 01:43 PM   #2
nicedream
Member
 
Registered: Feb 2010
Distribution: Arch Linux
Posts: 68

Rep: Reputation: 19
Have you tried using yum to track down and install the dependencies?

If the packages you need are in the Fedora repositories (I'm not sure if they are or not) then yum will pull them down and install them for you.
 
Old 02-19-2010, 02:58 PM   #3
Nanosuz
LQ Newbie
 
Registered: Dec 2008
Distribution: Fedora 9
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks for your reply, NiceDream (rhymes with "ice cream")

I downloaded yum-3.2.26 and extracted it. I then ran "make" and it looked like some compiling was going on.
But when I execute "yum" it returns "command not found". Does anything else need to be done to make yum work?
 
Old 02-19-2010, 03:32 PM   #4
nicedream
Member
 
Registered: Feb 2010
Distribution: Arch Linux
Posts: 68

Rep: Reputation: 19
Yum should be installed by default on Red Hat and Fedora (2 separate distros).

Are you running the command as the root user?
 
Old 02-19-2010, 04:03 PM   #5
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,257

Rep: Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202
Hi Nanosuz, Fedora and Red Hat are two separate distros (though they are related).

The current version of Fedora is 12, and 9 is no longer supported. Fedora 9 was released in 2008, but the 2009 in the name of your application leads me to believe it was released in 2009. This is probably why the dependencies cannot be satisfied.
 
Old 02-19-2010, 04:15 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,755

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
yum is always installed :
Please check with : rpm -qa | grep yum
Or : rpm -qa yum .

Please use these commands : 1) su , password
2) yum install libXfixes libXinerama

Glibc is already installed : 2.8-3
'glic' is your system ( together with the kernel)
and is always present.

rpm -qa | sort > my-installed-packages.txt
.. will save the text file in /home/<user>/ .
.....
 
Old 02-19-2010, 05:46 PM   #7
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,755

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
PQL-2009-246.i386.rpm .. .. Fedora 9

ftp://ftp.passcal.nmt.edu/passcal/software/linux/pqlII/
> > PQL-2009-246.i386.rpm
( ftp://ftp.passcal.nmt.edu/passcal/software/linux/
http://www.passcal.nmt.edu/content/software-resources )

All I had to do :
1) su
2) yum install compat-expat1
( which may already be installed on your Fedora 9.)

And then install the package ..
rpm -Uvh PQL-2009-246.i386.rpm

The command : /opt/passcal/bin/pql
.. will start the application.
.....

Last edited by knudfl; 02-19-2010 at 05:57 PM.
 
1 members found this post helpful.
Old 02-19-2010, 06:28 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,229

Rep: Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522Reputation: 2522
yum IS INSTALLED by default
BUT seeing as you are using the OLD AND UNSUPPORTED fedora 9 you might as well UNINSTALL yum because it will never work on fedora 9 .the software repos for 9 are no longer.They are NOT supported and will NEVER be updated .

please install a supported version
Fedora 12 is the current and fedora 13 will be out in about 4 months
 
Old 02-20-2010, 07:40 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,755

Rep: Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329Reputation: 3329
@ John VV : Not correct, all the main repos are still working.
( Update support ended : July-2009.)

Read post # 7, please.

Yesterday I did : # yum install compat-expat1
.. with no problems.

But may of course change any day, so you will have
to change the URL to the "archive"
http://archives.fedoraproject.org/pu...inux/releases/
.....

Last edited by knudfl; 02-20-2010 at 07:42 AM.
 
Old 02-21-2010, 07:28 PM   #10
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,417

Rep: Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397Reputation: 2397
The key point is that even if you can find an archived version of F9 repos, they will not have been updated in some time (and will never be updated).
That's dangerous to the OP and to us, security wise.

It'll also be easier to install modern SW on a current distro.
 
Old 02-22-2010, 10:15 AM   #11
Nanosuz
LQ Newbie
 
Registered: Dec 2008
Distribution: Fedora 9
Posts: 9

Original Poster
Rep: Reputation: 0
Hello knudfl:

Item 1:

When I run:

rpm -qa | grep yum

and

rpm -qa yum

there is no output at all, no error message, no nothin'.

I also ran:

rpm -qa | sort > my-installed-packages.txt

which did not list yum.

I guess this confirms that I don't already have yum installed.

Question 1:

Regarding my Linux version, the install CDs I used were labelled "Red Hat 9" so I may be mistaken but I know I've seen "Fedora" appear during installation and elsewhre. Frankly, I'm still confused about Linux versions. Do I have Red Hat, Fedora, or both?

cat /proc version outputs:

Linux version 2.4.20-8 (bhcompile@porky.devel.redhat.com) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #1 Thu Mar 13 17:54:28 EST 2003

So...ahem, what version of Linux do I have?

Question 2:

What version of Fedora are you using on the computer on which you successfully installed PQL?

I was told by the PQL developer that it was compiled on Fedora 10. I'm willing to upgrade to 10 or higher, but so far it seems that all upgrade instructions require the use of yum.

Can yum be installed independently?

Question 3:

I would like to upgrade to Fedora 10 or higher. Can I do so (I mean upgrade rather than completely reinstall) from the version I have?

Many thanks,

Suzan
 
Old 02-22-2010, 10:59 AM   #12
snowpine
Senior Member
 
Registered: Feb 2009
Posts: 4,257

Rep: Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202Reputation: 1202
Wow, you really are running Red Hat 9! It reached its "end of life" (no more official support!) way back in 2004. I really, really recommend a fresh reinstall of a currently-supported operating system.

Last edited by snowpine; 02-22-2010 at 11:18 AM.
 
1 members found this post helpful.
Old 02-22-2010, 11:29 AM   #13
cantab
Member
 
Registered: Oct 2009
Location: England
Distribution: *buntu, Vector
Posts: 499

Rep: Reputation: 102Reputation: 102
Eeek.

Yeah, don't use Red Hat Linux 9. That's like running Windows 98. It's out of date. If it's your computer, do a fresh install of an up-to-date distro.
 
1 members found this post helpful.
Old 02-26-2010, 11:05 AM   #14
Nanosuz
LQ Newbie
 
Registered: Dec 2008
Distribution: Fedora 9
Posts: 9

Original Poster
Rep: Reputation: 0
Hello

I resolved the problem by installing Fedora 12. PQLII then installed without whining.

Thanks everyone for your help.

Suzan
 
  


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
Installing yum - Endless failed dependencies NinetyFive Linux - Newbie 9 01-26-2008 12:02 PM
Getting failed dependencies while installing the "nessus" package rpm on WRLinux manohare Linux - Software 0 10-09-2007 09:52 AM
Failed dependencies /bin/sh, libc.so.6... when installing rpm package Vilenjak Linux - Newbie 4 03-19-2007 07:08 PM
Failed dependencies error installing spamassassin-2.61-1.i386.rpm on RH7.0 camelia Linux - Newbie 1 01-20-2004 07:33 PM
RPM 'failed dependencies': Why can I not install any rpm packages? leontini Linux - Newbie 7 09-16-2003 01:44 AM

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

All times are GMT -5. The time now is 10:35 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