[Yum-devel] [PATCH 1/2] yum -C should use the system cachedir.
james at fedoraproject.org
Tue Apr 17 14:25:47 UTC 2012
On Tue, 2012-04-17 at 14:34 +0200, Zdeněk Pavlas wrote:
> 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.
> setCacheDir() sets up the user tempcache when UID != 0.
> Thus, we should avoid calling it with --cacheonly.
This was specifically changed to do this (hence the comment) because
people were complaining that they did:
yum -C search foo
...and the "cached" command would fail as it was using the system cache
(the bash completion does this, AIUI).
More information about the Yum-devel