Posted on June 30, 2015 2:04 pm
 |  Asked by jbd jbd
 |  569 views
RESOLVED
0
0
Print Friendly, PDF & Email

Hi,

I’ve added a Fedora 14 i386 yum repository, but the /var/tmp partition is now full :

$ df -h /var/tmp

Filesystem            Size  Used Avail Use% Mounted on
tmpfs                  64M   64M  4.0K 100% /var/tmp

$ du -chs /var/tmp/*
64M     /var/tmp/agents
0       /var/tmp/cli
0       /var/tmp/locks
4.0K    /var/tmp/reloadCauseDebugFile
0       /var/tmp/vrf-admin-41254
64M     total

$ du -chs /var/tmp/agents/*
4.0K    /var/tmp/agents/arpVrfIdMap
64M     /var/tmp/agents/yum-admin-oKEVA3
64M     total

Now I cannot launch much yum related commands :

$ yum list installed
CError: Error writing to file /var/tmp/agents/yum-admin-oKEVA3/x86_64/4.15.0/pasteur-http-fedora-mirror-updates/6b0a33a650fb35d25ad93ab0eb85939145bf9fb89d7147892f747ecceaf41114-primary.sqlite: [Errno 28] No space left on device

I can remove /var/tmp/agents/yum-admin-oKEVA3 to unblock the situation, but it won’t resolv the problem.

Any idea ?

Jean-Baptiste

Marked as spam
1
Posted by jbd jbd
Answered on June 30, 2015 3:15 pm

Hi

I’ll answer to myself. yum will use /var/tmp/XXX if run as a non-admin user. A workaround is to use ”sudo” even for read-only yum operations.

Jean-Baptiste

Post your Answer

You must be logged in to post an answer.