On Friday 23 February 2001 07:27, Andrej Borsenkow wrote:
> > > No, that won't work.   rpm -Uvh *.rpm will.    Freshen will ignore
> > > new rpms that were not there before.
> >
> > Exactly - that's why I use freshen.  You need to watch for the extra
> > packages, like when a single package splits into two,  manually.
>
> You may consider urpmi. It has exactly the task to check dependencies and
> install them if needed. So,
>
> urpmi foo
>
> is basically the same as
>
> rpm -Fvh foo + rpm -ivh for additional packages foo depends upon.

This is incorrect.  Try for example:

rpm -e zsh-doc          I picked this at random since I'm not using it
Now do urpmi zsh-doc
You will see 2 problems.  First, it wants to install zsh-doc, which means it 
is NOT doing a freshen, but an install.  Secondly, it has a dependency on a 
non-existent package (perl-base-5.7).  Note that if you do an rpm -ivh on 
zsh-doc, the dependency is not there and the package installs normally.

The bottom line is that urpmi is not the right tool for the job, and what it 
does try to do it is getting wrong (in this case anyway).

This isn't to say that urpmi is all bad.  I use urpmf regularly and find it 
very helpful.


-- 
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]

Reply via email to