Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Cleaning up System
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
CooKies37
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2005
Posts: 127

PostPosted: Sun Jun 18, 2006 10:37 am    Post subject: Cleaning up System Reply with quote

hi, i got my gentoo install in sda7, 9GB, and now i got 45% free disk space, after i perform emerge openoffice,
it occur error somewhere and quit. so, i check with df, and i got :

/dev/sda7 100% /

being used!!! i can't do anything if my disk space run out!! so, what can i do to remove all those unsuccessful emerge files? i want to clean up my system. how can i do that? which directory or files is definately safe to delete? please help... thanks 1st... ^.^
Back to top
View user's profile Send private message
KiberGus
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2005
Posts: 81
Location: Moskow, Russia

PostPosted: Sun Jun 18, 2006 11:53 am    Post subject: Reply with quote

All packages are build in
/var/tmp/portage/
so clean up this directory.
Back to top
View user's profile Send private message
alistair
Retired Dev
Retired Dev


Joined: 15 Jul 2005
Posts: 869

PostPosted: Sun Jun 18, 2006 11:55 am    Post subject: Reply with quote

well this one is one that is up to you. if you use a modem or hate wasting your dl consider this a last resort

rm /usr/portage/distfiles/*

that will remove all the packages that you have downloaded for installation.
if you do remove that you could save a lot of space but u will have to redownload them to reinstall/recompile the package. This may or may not be a problem [for you]
_________________
______________
Help the gentoo-java project. Visit Gentoo Java Project

what good are admin powers if you don't abuse them for personal gain - mark_alec
Back to top
View user's profile Send private message
CooKies37
Tux's lil' helper
Tux's lil' helper


Joined: 04 Jun 2005
Posts: 127

PostPosted: Sun Jun 18, 2006 12:10 pm    Post subject: Reply with quote

KiberGus wrote:
All packages are build in
/var/tmp/portage/
so clean up this directory.


is there any bad effect if i clear all the files and folders under /var/tmp/portage ?
Back to top
View user's profile Send private message
B33FC4K3
n00b
n00b


Joined: 18 Jun 2006
Posts: 10
Location: Münster, Germany

PostPosted: Sun Jun 18, 2006 12:21 pm    Post subject: Reply with quote

You'll have to re-download all distribution files on updates and recompiles.

If your installation is not totally new, then you probably have old distribution files with the new ones, so you might want to try this:
1.) Go to /usr/portage/distfiles and remove a few files that are obvously obsolete (to get a few MBs)
2.) emerge gentoolkit
3.) Run eclean-dist
Back to top
View user's profile Send private message
tomk
Bodhisattva
Bodhisattva


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Sun Jun 18, 2006 12:47 pm    Post subject: Reply with quote

Moved from Portage & Programming to Duplicate Threads, please see this FAQ: SA1: Running out of disk space.
_________________
Search | Read | Answer | Report | Strip
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads 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