[Yum] "update" versus "install"
Robert P. J. Day
rpjday at mindspring.com
Sat Oct 25 10:26:53 UTC 2003
i'm a little puzzled over the documented behaviour of the yum "update"
option and what it's actually supposed to do. are all variations of "yum
update" only supposed to update existing RPMs on your ssystem?
as an example, i added matthias' ayo.freshrpms.net repository to
/etc/yum.conf. now i know he has several xine-related RPMs there, and i
have *nothing* xine-related on my system.
so let's say i type
# yum list updates
this should give me the list of all possible updates for my system, but
should *not* mention xine, since i have no current version, it shouldn't
be considered as a potential update, right?
and "yum update" i assume should work the same way -- updates can only be
considered for RPMs that already exist on my system. and yet the yum man
page reads:
update If run without any packages, update will update every currently
installed package. If one or more packages are specified, Yum
will only update the listed packages. While updating packages,
yum will ensure that all dependencies are satisfied. If no
package matches the given package name(s), they are assumed to
be a shell glob and any matches are then installed. <--- ??
what's with that final "installed"? is that just a typo? i'm thinking
that any variation on an "update" should never "install", which i
interpret differently.
or am i just overdiscussing things again? :-)
rday
More information about the Yum
mailing list