[Yum] feature missing from yum :)

Nielsen, Steve SNielsen at comscore.com
Tue Apr 6 13:25:35 UTC 2004


I completely agree. Thats why it might make sense to add a new keyword on the command line that means "update if already installed else install it". I find myself all the time wrapping yum with a shell script to be able to do this or using rpm (which makes you figure out dependencies).

Steve

-----Original Message-----
From: seth vidal [mailto:skvidal at phy.duke.edu]
Sent: Tuesday, April 06, 2004 8:22 AM
To: Yellowdog Updater, Modified
Subject: Re: [Yum] feature missing from yum :)


On Tue, 2004-04-06 at 08:49, Nielsen, Steve wrote:
> Will there be the "-U" rpm equivalent feature in yum ? This is where
> you issue an "update" but if its not install yum will install it
> instead of updating. Perhaps this could be implemented as a different
> keyword?

no. I've always thought that was a backward concept of 'update'. If a
package is not installed then you can't update it. An update is when you
apply a newer package over an older one.

The first time I ran rpm -Uvh *.rpm and it installed ALL of them instead
of just updating the ones I had installed I was appalled and surprised.

-sv




_______________________________________________
Yum mailing list
Yum at lists.dulug.duke.edu
https://lists.dulug.duke.edu/mailman/listinfo/yum



More information about the Yum mailing list