[Yum] feature missing from yum :)

Nielsen, Steve SNielsen at comscore.com
Tue Apr 6 13:23:49 UTC 2004


What I am asking for is behavior that is similar to rpm behavior (since yum mostly emulates it anyway).

rpm -e is yum erase
rpm -i is yum install
rpm -F (freshen) is yum update
rpm -U (update if installed else install)? - this is what is missing....

I am not complaining just hoping the feature will be added. It would be very useful for installing RPMs using yum on lots of machines. Then I don't have to wrap yum or use rpm directly all the time (rpm -q $rpmname && yum update $name || yum install $name).  

Since yum is written for sysadmins and I am a sysadmin I asking for this feature.

Steve

-----Original Message-----
From: Chris Geddings [mailto:chris at geddings.org]
Sent: Tuesday, April 06, 2004 8:10 AM
To: Yellowdog Updater, Modified
Subject: Re: [Yum] feature missing from yum :)


https://lists.dulug.duke.edu/pipermail/yum/2003-April/000887.html

Start there.

Not sure where the state of the conversation is now, but, IIRC, the idea
is that an update should only update, not install, and that the
functionality of installation should be handled through some kind of
batching operation, though I'm not sure where the status of that is.

--Chris

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?
> 
> Steve
> _______________________________________________
> Yum mailing list
> Yum at lists.dulug.duke.edu
> https://lists.dulug.duke.edu/mailman/listinfo/yum

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



More information about the Yum mailing list