View previous topic :: View next topic |
Author |
Message |
CooKies37 Tux's lil' helper
Joined: 04 Jun 2005 Posts: 127
|
Posted: Sun Jun 18, 2006 10:37 am Post subject: Cleaning up System |
|
|
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 |
|
|
KiberGus Tux's lil' helper
Joined: 16 Apr 2005 Posts: 81 Location: Moskow, Russia
|
Posted: Sun Jun 18, 2006 11:53 am Post subject: |
|
|
All packages are build in
/var/tmp/portage/
so clean up this directory. |
|
Back to top |
|
|
alistair Retired Dev
Joined: 15 Jul 2005 Posts: 869
|
Posted: Sun Jun 18, 2006 11:55 am Post subject: |
|
|
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 |
|
|
CooKies37 Tux's lil' helper
Joined: 04 Jun 2005 Posts: 127
|
Posted: Sun Jun 18, 2006 12:10 pm Post subject: |
|
|
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 |
|
|
B33FC4K3 n00b
Joined: 18 Jun 2006 Posts: 10 Location: Münster, Germany
|
Posted: Sun Jun 18, 2006 12:21 pm Post subject: |
|
|
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 |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
|
Back to top |
|
|
|