At 09:53 PM 15/11/00 +0530, Madhavi wrote:
>Sudhakar Chandra wrote:
>
> > Madhavi proclaimed:
> > > > I want to install a bundle of rpms.
> > > u can try rpm -ivh 'ls *.rpm`  at the $ prompt but if there r any
> > > dependencies this may fail..
> >
> > Here is an interesting question.  If I did 'rpm -ivh foo.rpm bar.rpm and
> > baz.rpm' AND foo.rpm depends on baz.rpm being installed, would the
> > command still work?  Or would it fail with a dependancy problem?  If I
> > were to do the same thing using dpkg - 'dpkg --install foo.deb bar.deb
> > baz.deb' - dpkg is smart enough to understand that foo.deb depends on
> > baz.deb and it installs baz.deb first
>
>As far as my understanding goes .. it's intelligent enough to install the
>dependencies.  in case there is an error then probably there is a dependent
>rpm missing in the list supplied.

According to the rpm man page it *does* reorder installation of multiple 
rpms in order to satisfy dependencies. rpm may not be as smart as dpkg/apt 
but it isn't completely moronic.

Biju


-------------------------------------------------------------------------
Biju "Botsie" Chacko            b i j u _ c h a c k o @ y a h o o . c o m
Linux Mandrake 7.1 (helium)                                 Kernel 2.2.15
-------------------------------------------------------------------------


----------------------------------------------
LIH is all for free speech.  But it was created
for a purpose.  Violations of the rules of
this list will result in stern action.

Reply via email to