[ILUG] rpm bug?

conor at discuskeeping.com conor at discuskeeping.com
Wed Sep 21 18:15:50 IST 2005


Quoting Lars Hecking <lhecking at users.sourceforge.net>:

>
> Hi all,
>
> Has anyone ever come across the behaviour described below, preferably under
> some variant of RedHat?
>
> Consider a directory containing about a number of rpms. Some of them are
> installed, some of them aren't. rpm -Uhv * in the directory tells me all
> about the already installed rpms, but completely fails to install the others.
>
> Would this be considered a bug, or am I simply going about it the wrong way?

Doing a -Uvh will fail if its tons of RPM's in a row. Say for example, updates
from heanet.

You are supposed to use -Fvh which is the freshen, but that wont work either.
So you will end up doing --force as --nodeps will also fail.

Its not a bug, its a PITA.
Someone said (PaulJ?) that yum uses --force for this reason. Which is why yum
sucks-ass.com, well, its one of the reasons it sucks (tm)

regards
Conor.



More information about the ILUG mailing list