Why is /var so big?

Alexander Dalloz ad+lists at uni-x.org
Sun Mar 20 18:54:47 UTC 2005


Am So, den 20.03.2005 schrieb Rob Rosenthal um 19:50:

> Okay, yum is broken. Here's the error message:
> 
> Unable to find pid
> Gathering header information file(s) from server(s)
> Server: Fedora Core 2 - i386 - Base
> Traceback (most recent call last):
>  File "/usr/bin/yum", line 30, in ?
>    yummain.main(sys.argv[1:])
>  File "/usr/share/yum/yummain.py", line 233, in main
>    clientStuff.get_package_info_from_servers(serverlist, HeaderInfo)
>  File "/usr/share/yum/clientStuff.py", line 838, in 
> get_package_info_from_servers
>    os.mkdir(servercache)
> OSError: [Errno 2] No such file or directory: '/var/cache/yum/base'
> 
> Now how do I fix it?

Execute as root: mkdir /var/cache/yum
Btw. you broke it yourself by deleting all the content below /var/cache/
(previous thread).

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG http://pgp.mit.edu 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora Core 2 GNU/Linux on Athlon with kernel 2.6.10-1.770_FC2smp 
Serendipity 19:53:27 up 3 days, 17:49, load average: 0.58, 0.46, 0.46 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20050320/cdea8a89/attachment-0001.sig>


More information about the fedora-list mailing list