LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Need to Know how to intall 2 RPMs at once (https://www.linuxquestions.org/questions/mandriva-30/need-to-know-how-to-intall-2-rpms-at-once-209978/)

slim27616 07-26-2004 06:39 PM

Need to Know how to intall 2 RPMs at once
 
first of all i'm running mdk10 community with kernel 2.6

okay im trying to install kxdocker using a rpm i found(i tried to complie the program but it failed)
i used the standard intall using the standard "rpm -i kxdocker-0.22-1nts.i586.rpm". it told me i needed to fullfill its dependcy by installing kxdocker-resources-0.6-1nts.noarch.rpm. So i ran the command "rpm -i kxdocker-resources-0.6-1nts.noarch.rpm". and it told me i need to install kxdocker-0.22-1nts.i586.rpm to meets the dependecy of kxdocker-resources-0.6-1nts.noarch.rpm.

So i cant seem to install file a without file b and file b without a.
:scratch:

my question is: is it possible to install 2 rpms at once and could u give me the code.

thanks and advance

win32sux 07-26-2004 06:48 PM

try putting them on one line:

rpm -i kxdocker-0.22-1nts.i586.rpm kxdocker-resources-0.6-1nts.noarch.rpm

otish1000c 07-28-2004 06:30 AM

if that didn't work for you, you could also try the following..........

Code:

rpm --force --nodeps (name of rpm package)
i'd do the "resources" package first, then the main package. it's sorta self explanatory, but those switches tell the rpm to force the install without dependant packages. you might also want to use rpm -ivh for more info during the install read man rpm for other options you can use.

otis

amosf 07-28-2004 07:28 AM

Yep. I'd try:

rpm -i kxdocker*

and if that don't work try

rpm -i --nodeps kxdocker*

courtrrb 07-28-2004 01:55 PM

I would not use rpm --force. This may hose your system but good. I would use urpmi ./(name of rpm package)
This would load the program and it's dependences

rshaw 07-28-2004 03:09 PM

or just rpm -ivh *.rpm


All times are GMT -5. The time now is 10:39 AM.