yum clean as $USER ?

shmuel siegel fedora at shmuelhome.mine.nu
Mon Nov 23 00:41:09 UTC 2009


Seth Vidal wrote:
>
>
> On Mon, 23 Nov 2009, Aioanei Rares wrote:
>
>> Perhapin the light of the recent thread regarding users' permissions 
>> to install packages, I have a quick question : in Rawhide I typed 
>> accidentally (eg without leading sudo) the command 'yum clean all' as 
>> a simple user, and it worked. Is this intended, am I overlooking 
>> something, or...?
>>
>
> that cleans out the local user cache for yum.
>
> yum in about 3.2.23 started making a user cache in 
> /var/tmp/yum-$username-randomchars and using that for when a user 
> wished to search/list/etc transactions.
>
> so now yum clean all, invoked as a user, cleans out that cache.
>
> -sv
>
Thanks, that explains why my yum clean all worked but didn't solve my 
problems with presto hashes. I had to do it as root. Maybe the message 
can read "cleaning user's repository" instead of cleaning everything. It 
is misleading.




More information about the test mailing list