On Tue, 2012-04-17 at 14:34 +0200, Zdeněk Pavlas wrote:
> <documentation>
> --cacheonly
> If you're using this as a user yum will not use the tempcache for
> the user but will only use the system cache in the system cachedir.
> </documentation>
> 
> setCacheDir() sets up the user tempcache when UID != 0.
> Thus, we should avoid calling it with --cacheonly.

 NAK.
 This was specifically changed to do this (hence the comment) because
people were complaining that they did:

yum makecache
yum -C search foo

...and the "cached" command would fail as it was using the system cache
(the bash completion does this, AIUI).

_______________________________________________
Yum-devel mailing list
Yum-devel@lists.baseurl.org
http://lists.baseurl.org/mailman/listinfo/yum-devel

Reply via email to