LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   How to install rpm packages recursively? (https://www.linuxquestions.org/questions/linux-general-1/how-to-install-rpm-packages-recursively-10148/)

concoran 12-16-2001 01:49 AM

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?

Dave Campbell 12-16-2001 05:22 AM

I don't believe there is a way to do this other than reading up before attempting an install.

bluecadet 12-16-2001 08:17 AM

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!

Posterboy 12-17-2001 02:39 PM

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.

jeremy 12-20-2001 09:42 AM

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


All times are GMT -5. The time now is 01:13 PM.