Yum cache memory space -

Bill Davidsen davidsen at tmr.com
Tue Sep 11 14:28:36 UTC 2012


Reindl Harald wrote:
>
>
> Am 05.09.2012 18:52, schrieb Bob Goodwin - Zuni:
>>         Error Downloading Packages:
>>            1:libreoffice-core-3.5.6.2-2.fc17.x86_64: Insufficient space
>>         in download directory /var/cache/yum/x86_64/17/updates/packages
>>              * free   45 M
>>              * needed 70 M
>>
>>     [root at box9 bobg]# df -h
>>
>>     shows:
>>
>>     /dev/sda2           1.5G  1.5G     0 100% /var
>>
>>     Perhaps I should have allocated space differently?
>
> looks like
>
> or you edit /etc/yum.conf -> cachedir=/var/cache/yum to somewhere else
>
>>     Can I just clear /var/cache/yum/x86_64/17/updates/packages?
>
> you can even "rm -rf /var/cache/yum/*"
> done this hundrets of times on many machines in the past years

I don't think that was his question. And unless you are doing something very 
unusual, why would you not use "yum clean all" to preserve the structure?
>
>>     suspect that if I could it should happen without my help?
>
> why should it?
> if /etc/yum.conf contains "keepcache=1" it is supposed to keep
>
>
>
>
>


-- 
Bill Davidsen <davidsen at tmr.com>
   "We have more to fear from the bungling of the incompetent than from
the machinations of the wicked."  - from Slashdot


More information about the users mailing list