View previous topic :: View next topic |
Author |
Message |
fusion1275 Apprentice
Joined: 30 Oct 2005 Posts: 185
|
Posted: Wed Aug 29, 2007 4:32 pm Post subject: /usr is at 97% |
|
|
Hey all,
My /usr directory is slowly creeping up. Any ideas on what is good to clear down? I just wanted to clear it with you pro's before I make my whole system die on its ass!
Cheers _________________ AMD XP 2600+
Mem: 1gb
Disk1: 60gb
Disk2: 250gb
Disk3: 250gb
Kernel: 2.6.19-r5
KDE: 3.5.5 |
|
Back to top |
|
|
Sadako Advocate
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Wed Aug 29, 2007 4:45 pm Post subject: |
|
|
`du -hs /usr/portage/distfiles`?
Also, `du -chs /usr/src/*`? _________________ "You have to invite me in" |
|
Back to top |
|
|
OrangeToque n00b
Joined: 03 Apr 2006 Posts: 57 Location: Edmonton, Alberta, Canada
|
Posted: Wed Aug 29, 2007 4:46 pm Post subject: |
|
|
You can safely delete the contents of the directory::
Code: | /usr/portage/distfiles/ |
This is the place where portage saves all of its downloaded files (source code, binaries, etc.). These files are safe to delete as portage will just re-download them if it needs them.
Another potential culprit are old kernel versions installed in::
To delete these I would recommend first checking your system to see which kernel you are actively using::
Then simply remove any that are superfluous through emerge ::
Code: | emerge -C =gentoo-source-2.x.x.x |
where 2.x.x.x is the version you wish to delete... or
Code: | 'emerge -C <gentoo-source-2.x.x.x' |
where 2.x.x.x is your current version.
Once emerge has finished, the actual kernel directories can be removed from /usr/src.
Good luck! _________________ OS: Linux 2.6.24-gentoo-r3 x86_64 Gentoo v1.12.11.1 Sound: HDA Intel
CPU: Intel(R) Core(TM)2 Quad CPU Q6700 @ 2.66GHz GenuineIntel
Disk: 2x 300GB 7200.10 SATA II Video: GeForce 7900 GT RAM: 4GB |
|
Back to top |
|
|
fusion1275 Apprentice
Joined: 30 Oct 2005 Posts: 185
|
Posted: Wed Aug 29, 2007 4:47 pm Post subject: |
|
|
2.0G /usr/portage/distfiles/ _________________ AMD XP 2600+
Mem: 1gb
Disk1: 60gb
Disk2: 250gb
Disk3: 250gb
Kernel: 2.6.19-r5
KDE: 3.5.5 |
|
Back to top |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Wed Aug 29, 2007 4:48 pm Post subject: |
|
|
Moved from Portage & Programming to Duplicate Threads.
See here _________________ Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered
talk is cheap. supply exceeds demand |
|
Back to top |
|
|
|