LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 03-03-2003, 11:54 PM   #1
edverb
LQ Newbie
 
Registered: Feb 2003
Posts: 10

Rep: Reputation: 0
rpm dependency issue


Hi,

Thanks in advance for any help on this issue. Please forgive my newbishness!

I'm trying (and failing) to upgrade to Mozilla 1.2.1-1 using an RPM in RH8. It requires packages that are installed and useable (Mozilla 1.01). Here is the output:

[root@localhost batewell]# rpm -Uvh mozilla-1.2.1-1_rh8.i386.rpm
error: Failed dependencies:
mozilla-nspr = 1.2.1-1_rh8 is needed by mozilla-1.2.1-1_rh8
mozilla = 1.0.1-26 is needed by (installed) mozilla-psm-1.0.1-26
mozilla = 1.0.1-26 is needed by (installed) mozilla-mail-1.0.1-26

When I check to see that mozilla 1.01-26 installed, I get this:

[root@localhost batewell]# rpm -qa | grep mozilla
mozilla-1.0.1-26
mozilla-mail-1.0.1-26
mozilla-nss-1.0.1-26
mozilla-psm-1.0.1-26
mozilla-nspr-1.0.1-26

When I try to install the missing mozilla-nspr-1.2.1-1_rh8.i386.rpm I get:

root@localhost batewell]# rpm -Uvh mozilla-nspr-1.2.1-1_rh8.i386.rpm
error: Failed dependencies:
mozilla-nspr = 1.0.1-26 is needed by (installed) mozilla-1.0.1-26
mozilla-nspr = 1.0.1-26 is needed by (installed) mozilla-nss-1.0.1-26


Aside from the fact that I'd like to try the newer version of Mozilla, I'm just plain curious as to why I get failed dependencies when the necessary packages ARE installed. Can anybody provide a solution and/or an explanation?

again, thanks in advance!
Ed


Last edited by edverb; 03-04-2003 at 12:01 AM.
 
Old 03-03-2003, 11:56 PM   #2
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
If you know what you're doing, you can force installation:
rpm -Uvh --nodeps mozilla-1.2.1-1_rh8.i386.rpm
 
Old 03-04-2003, 12:05 AM   #3
edverb
LQ Newbie
 
Registered: Feb 2003
Posts: 10

Original Poster
Rep: Reputation: 0
wow Iceman...that was fast!

I tried your suggestion...after the package installed, I typed mozilla to start the prog, and help/about still says Mozilla 1.0.1.

Is there anything else I need to do to run the new version?

again, many thanks, I'm in your debt.
Ed
 
Old 03-04-2003, 12:14 AM   #4
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Hmmm....well what I did when I updated Mozilla was first download all the new files into one directory. These are all the files I downloaded. Once I had all the files in one directory I went into that directory and did:

rpm --force -Uvh mozilla*

Then I uninstalled the old version of mozilla.
 
Old 03-04-2003, 12:17 AM   #5
iceman47
Senior Member
 
Registered: Oct 2002
Location: Belgium
Distribution: Debian, Free/OpenBSD
Posts: 1,123

Rep: Reputation: 47
So it didn't help...
remove all these:

mozilla-1.2.1-1
mozilla-mail-1.0.1-26
mozilla-nss-1.0.1-26
mozilla-psm-1.0.1-26
mozilla-nspr-1.0.1-26

you can erase rpm's with the -e option, again if you want to force it, use --nodeps (but be carefull with it).

Get the new rpm's (so mail,nss,psm,nspr & mozilla itself) where you found mozilla-1.2.1-1_rh8.i386.rpm and install them, that should do the trick

Last edited by iceman47; 03-04-2003 at 12:19 AM.
 
Old 03-04-2003, 12:28 AM   #6
edverb
LQ Newbie
 
Registered: Feb 2003
Posts: 10

Original Poster
Rep: Reputation: 0
THANKS FELLAS! I am writing this reply in Mozilla 1.3b.

I had downloaded all of the 1.3b RPMs (and ran into the same issues I described, when I first tried this upgrade a few days ago).

So, upon reading Crashed Again's message I tried that suggestion using the 1.3b RPMs, saved my bookmarks just in case, and closed/reopened Mozilla. It works! I didn't need to uninstall any older versions.

Thank you both for your help. I sincerely appreciate both your suggestions, and your prompt replies.


best wishes,
Ed

PS: Issue first posted at 11:56PM, solved at 12:30AM. That rocks.

Last edited by edverb; 03-04-2003 at 12:31 AM.
 
Old 03-04-2003, 12:31 AM   #7
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
Haha you are a lot smarter then me. I forgot to save my bookmarks. Doh'

I didn't tell you to save your bookmarks because I was testing you. Way to go! You passed the test.

P.S. Actually I just forgot. Sorry.

Last edited by Crashed_Again; 03-04-2003 at 12:32 AM.
 
Old 03-04-2003, 12:33 AM   #8
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
Sweet! That's good response time, I don't think you'd even talk to a person that fast with paid tech support...

Something you might consider for the future is called Synaptic. Here's a link (first one on google) about it:
http://voidmain.kicks-ass.net/redhat...must_have.html

It will save you from "dependency hell".

Cool
 
Old 03-04-2003, 12:53 AM   #9
edverb
LQ Newbie
 
Registered: Feb 2003
Posts: 10

Original Poster
Rep: Reputation: 0
I still can't get over the speed of resolution. DOH!

MasterC: I just installed apt-get and synaptic via the instructions on that link...it looks REALLY promising. I'm psyched. Thanks so much for the link!

Hey Crashed_Again, check the BB on your site! I posted something, maybe I can return the favor (hopefully).

This is my new favorite site

 
Old 03-04-2003, 04:20 AM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,415

Rep: Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968Reputation: 1968
it's not a great idea to ever force install an rpm. if you are having depencies like he had, you should just install the files simultaneously

rpm -Uvh file1.rpm file2.rpm etc....
 
  


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
RPM dependency UltraSoul Linux - Software 9 07-09-2005 02:14 PM
RPM dependency help (apt 4 rpm) Cubsy Linux - Software 4 10-08-2004 05:15 PM
rpm dependency issue afrodocter Linux - Software 1 04-15-2004 03:58 PM
Gentoo Dependency Issue NightShade737 Linux - Distributions 0 09-20-2003 05:27 AM
Help : rpm dependency error when install video driver rpm ymdwxm Linux - Software 1 04-04-2003 05:55 PM


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