Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] How to install about 150 rpms?


On 10 Feb, Jeff Waugh wrote:
>  > So my question is, is there a utility that will work out which rpm files 
>  > provide which dependencies, and work out the order to install them all? 
>  > It would be less tedious than compiling from source, to work out by hand 
>  > what the right install order would be, but surely this must be a common 
>  > problem? 
>   
>  If you want to install all of them, can't you just do rpm -Uvh * and it will 
>  work it out? 

Nope.  It would be sensible if it did, though, wouldn't it?

rpm -Uvh *.rpm
error: failed dependencies:
        libpspell.so.2   is needed by balsa-1.1.1-3
        libguile.so.6   is needed by libgtop-examples-1.0.10-3
        libgimp-1.2.so.0   is needed by xmorph-2000.04.28-9
        libgtop = 1.0.10 is needed by libgtop-examples-1.0.10-3
        libpisock.so.3   is needed by kdepim-2.1.1-1

Kevin Waterson wrote:
        
> if you do rpm -Uvh *.rpm you may find dependacy problems as it will 
> try to install them  in order, but if you do
> rpm -Uvh *.rpm --nodeps --force
> this will install them all without any issues with dependancies,but
> forcing them is not always a good idea.

Well, I feel like taking a gamble and seeing whether this breaks my
entire system or not, so I'll try it....

luke