Re: yum -C update

James Antill <[email protected]> Mon, 06 May 2013 10:21:10 -0400
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
Frank Murphy <[email protected]> writes:

> yum -C update
> Will this cause yum be used without 
> writing  all the metadata locally?

 -C basically says "operate from out of the cache", or in other words
"don't try to use the network".

> Just install the downloaded rpms
> Which is the desired result in this case?

 If all the rpms are already download (Eg. via. a previous
--downloadonly operation) then, yeh this should work fine.
 If you do the above when you've only downloaded half of the rpms,
then yum will fail on the first rpm it finds that it can't download
(because you told it not to).
 There is currently no option to say "try and update using just the
rpms that are already downloaded". With depsolving this is
non-trivial.

-- 
James Antill -- [email protected]