LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 12-16-2001, 01:49 AM   #1
concoran
Member
 
Registered: Jun 2001
Location: 28N,82W
Distribution: XP,Ubuntu 9
Posts: 473

Rep: Reputation: 30
How to install rpm packages recursively?


I am faced with a installation problem. If I want to install package A, it has dependencies B1, B2. These in turn have dependancies C11, C12 etc.

How can I use rpm to install package 'A' which takes care of dependencies?
 
Old 12-16-2001, 05:22 AM   #2
Dave Campbell
Member
 
Registered: Dec 2001
Location: London
Distribution: Redhat 6.2
Posts: 48

Rep: Reputation: 15
I don't believe there is a way to do this other than reading up before attempting an install.
 
Old 12-16-2001, 08:17 AM   #3
bluecadet
Member
 
Registered: Oct 2001
Distribution: MD81 RH71
Posts: 555

Rep: Reputation: 30
the urpmi packages use a catalogue of distro cd's to store records of depencies, so all satisfyable ones can be dealt with. i don't know if rh72 has a gui for it, but mandrake has the lovely, if slow, rpmdrake. is there an rpmdruid?

you could try and install teh rpmdrake rpms onto a non mandrake system, (esp if you use teh src.rpms' and compile them) they should be ok i think. i did actaully get about 30(!!!) depency failures when i tried to upgrade it recetnly tho!
 
Old 12-17-2001, 02:39 PM   #4
Posterboy
Member
 
Registered: Oct 2001
Location: Lilburn, Ga.
Distribution: RH
Posts: 77

Rep: Reputation: 15
There is a thing called red-carpet which deals very effectively with this, look for it at ximian.com, ( I am experienced with this) also a project at sourceforge called aptrpm, or something like that, (I am NOT experienced with this) which implements the Debian apt-get for rpm based distros.
 
Old 12-20-2001, 09:42 AM   #5
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,602

Rep: Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083
rpmfind will also do what you are looking for. From the man page:
Quote:
It analyzes the current state of the system, checks a remote database using HTTP to lookup the packages providing the best affinity with your current software base and also list the extra packages that you need to install to solve the missing dependencies.
--jeremy
 
  


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
Install rpm packages in RedHat shahrokhnikou Linux - Software 1 07-28-2005 02:50 PM
how to install *.scr.rpm packages... IAnCool Linux - Newbie 5 03-06-2005 01:48 AM
How do I install .rpm packages using RH9? ScottyKUtah Linux - Newbie 3 08-08-2004 08:09 AM
RPM 'failed dependencies': Why can I not install any rpm packages? leontini Linux - Newbie 7 09-16-2003 12:44 AM
can RPM removing all packages I have install? Embeder Linux - General 4 06-13-2003 10:37 AM

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

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