LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-07-2001, 08:19 PM   #1
suliu
LQ Newbie
 
Registered: Mar 2001
Posts: 5

Rep: Reputation: 0

I am running Linux Mandrake 7.2
I am trying to install something like C++ library and jdk using rpm. But it will say something else is needed first. Then I try to install these pre-required packages, then it will say something else is needed. It keeps going like these, then it will fail.

Has anybody had similar experience?
Thanks.
 
Old 03-07-2001, 09:44 PM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,600

Rep: Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083
Sometimes you will run into a pretty nasty prerequisite loop. Really nothing you can do. It happens when installing from source sometimes too. Apt-get (debian) takes care of it pretty nicely.
 
Old 03-08-2001, 03:03 PM   #3
KevinJ
Member
 
Registered: Feb 2001
Location: Colorado Springs, CO
Distribution: Redhat v8.0 (soon to be Fedora? or maybe I will just go back to Slackware)
Posts: 857

Rep: Reputation: 30
Maybe...

You should make a list of what is needed..put them all in a temporary directory and then from that directory just issue:

rpm -Uvh *

and it will install the rpms in the order needed. If it doesn't work, then as Jeremy said, you could be in a situation where your RPM database doesnt reflect what is really on the system. In that case... you need to manually determine if you really do have the required files installed. Then you can FORCE the first RPM in the chain to be installed and issue the above command to do the rest of them in the right order.

I have most commonly seen this when you start mixing source installs with RPM installs.
 
Old 03-08-2001, 09:58 PM   #4
suliu
LQ Newbie
 
Registered: Mar 2001
Posts: 5

Original Poster
Rep: Reputation: 0
Jeremy and Kevin,

Thanks a lot for your help!

Go Linux!
-suliu

 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rpm problem juanb Linux - Newbie 2 01-26-2004 08:48 PM
RPM Problem chrisknight Linux - Software 4 07-07-2003 02:30 PM
.src.rpm, .i386.rpm and .i686.rpm hhegab Linux - Software 2 06-19-2003 07:19 AM
rpm problem katana *BSD 2 08-07-2002 06:17 AM
RPM Problem PeterC1 Linux - Newbie 0 09-13-2001 06:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:44 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
Open Source Consulting | Domain Registration