View previous topic :: View next topic |
Author |
Message |
ferp2 Tux's lil' helper
Joined: 13 Aug 2002 Posts: 104
|
Posted: Tue Apr 22, 2003 3:37 pm Post subject: About /var/tmp/portage |
|
|
I recently tried to emerge openoffice only to have the emerge fail. After some investigation, I found that /var directory, which is on a separate partition, was full. This despite the fact that I had allotted 900M to the partition where /var is located. I did some reading on the discussion forums and found out that you can safely do a
Code: | rm -r /var/tmp/portage/* |
as it tends to get filled up with aborted ebuilds. I took a look in /var/tmp/portage and found it full of directories. In fact, when I did
Code: | du -s /var/tmp/portage |
I got
Code: | 834839 /var/tmp/portage |
in return. To my knowledge I didn't have any aborted ebuilds, except openoffice, so why are all these directories still there.
Thanks,
Mark |
|
Back to top |
|
|
blubber Retired Dev
Joined: 26 Apr 2002 Posts: 152 Location: Enschede, Netherlands
|
Posted: Tue Apr 22, 2003 3:45 pm Post subject: |
|
|
Emerge unpacks the sources to that directory. AFAIK the sources are not deleted after emerging some package. So this directory tends to fill up very quick. But it is indeed safe to delete it's contents.
Edit: after close inspection I must conclude that emerge does delete the sources of compiled packages, and therefor your /var/tmp/portage dir shouldn't be so large. I sugest you delete it, and check every now and then if it fills up again.
Code: |
osiris temp # du -s /var/tmp/portage
15552 /var/tmp/portage
|
|
|
Back to top |
|
|
ferp2 Tux's lil' helper
Joined: 13 Aug 2002 Posts: 104
|
Posted: Tue Apr 22, 2003 4:32 pm Post subject: |
|
|
Thanks for the reply. Like you said, once the emerge has successfully completed, the sources that have been unpacked to /var/tmp/portage are removed. In my case, they weren't for reasons unknown. |
|
Back to top |
|
|
pjp Administrator
Joined: 16 Apr 2002 Posts: 20067
|
Posted: Tue Apr 22, 2003 4:53 pm Post subject: |
|
|
Moved from Installing Gentoo. _________________ Quis separabit? Quo animo? |
|
Back to top |
|
|
|