Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
About /var/tmp/portage
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
ferp2
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2002
Posts: 104

PostPosted: Tue Apr 22, 2003 3:37 pm    Post subject: About /var/tmp/portage Reply with quote

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
View user's profile Send private message
blubber
Retired Dev
Retired Dev


Joined: 26 Apr 2002
Posts: 152
Location: Enschede, Netherlands

PostPosted: Tue Apr 22, 2003 3:45 pm    Post subject: Reply with quote

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
View user's profile Send private message
ferp2
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2002
Posts: 104

PostPosted: Tue Apr 22, 2003 4:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Tue Apr 22, 2003 4:53 pm    Post subject: Reply with quote

Moved from Installing Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum