Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/usr full
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Wed May 18, 2011 2:34 pm    Post subject: /usr full Reply with quote

Hello, ok my /usr partition is full, all 6.6gb of it.

I have /usr/portage and /usr/src on own partitions, questions is how can free up some space till i get it sorted with hard drive/partition redo?

Is there some cruft that can be deleted from /usr ?

cheers
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
richard.scott
Veteran
Veteran


Joined: 19 May 2003
Posts: 1497
Location: Oxfordshire, UK

PostPosted: Wed May 18, 2011 2:44 pm    Post subject: Reply with quote

you could install localepurge and run it?
Back to top
View user's profile Send private message
Apheus
Guru
Guru


Joined: 12 Jul 2008
Posts: 422

PostPosted: Wed May 18, 2011 2:47 pm    Post subject: Reply with quote

How old is this system? Remnants from perl-5.8.8 or python-2.4 come to mind...

These would be in /usr/lib/perl5/5.8.8 and similar for python. But be careful: Check these versions are not installed any more, and back up the files first. It will not free much space anyway, except if something went wrong when the old interpreter versions where uninstalled.
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Wed May 18, 2011 5:02 pm    Post subject: Reply with quote

Thanks for replies.

Localepurge got me some space back, nothing to gain from perl, moved from python 2.6 to 2.7 so could remove 2.6 which got some more.
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
mikegpitt
Advocate
Advocate


Joined: 22 May 2004
Posts: 3224

PostPosted: Wed May 18, 2011 8:31 pm    Post subject: Reply with quote

If you are really desperate for space you can clean the following out without many negative impacts to your system... but I would recommend a full `emerge -e world` to return the files after you migrate to the new disk/partition. You might also want to move these to a USB stick so you don't lose them.

Please note that removal of these may impact your system in unexpected ways...
Code:
/usr/share/man
/usr/share/doc
/usr/share/gtk-doc
/usr/share/gnome/help

# If KDE 3.5 stuff is still around
/usr/kde/3.5/share/doc
/usr/kde/3.5/share/emoticons
/usr/kde/3.5/share/sounds
/usr/kde/3.5/share/wallpapers
/usr/kde/3.5/share/apps/carddecks

Also performing an `emerge --depclean` or removing some packages you installed but hardly use might also be a good idea.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21707

PostPosted: Thu May 19, 2011 2:36 am    Post subject: Reply with quote

If you have free space somewhere, just not on /usr, you could try to find the biggest hogs on /usr, move those to the new volume, and bind mount the new directory back into place. This will keep the view mostly consistent, so programs should continue to work.
Back to top
View user's profile Send private message
carpman
Advocate
Advocate


Joined: 20 Jun 2002
Posts: 2202
Location: London - UK

PostPosted: Thu May 19, 2011 8:45 am    Post subject: Reply with quote

Thanks for replies, recovered nearly 700mb of space which will keep me going till get drives sorted.
_________________
Work Station - 64bit
Gigabyte GA X48-DQ6 Core2duo E8400
8GB GSkill DDR2-1066
SATA Areca 1210 Raid
BFG OC2 8800 GTS 640mb
--------------------------------
Notebook
Samsung Q45 7100 4gb
Back to top
View user's profile Send private message
geeksheik
Tux's lil' helper
Tux's lil' helper


Joined: 07 Sep 2003
Posts: 99
Location: Zürich, Switzerland

PostPosted: Thu May 19, 2011 10:14 pm    Post subject: Reply with quote

Have you tried eclean already? It's part of the anti-cruft arsenal (gentoolkit actually).

On second thought, I wonder if eclean-pkg will do anything more than your emerge --depclean...

The other part of eclean, eclean-dist, probably doesn't do anything outside of /usr/portage
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21707

PostPosted: Fri May 20, 2011 3:42 am    Post subject: Reply with quote

geeksheik wrote:
On second thought, I wonder if eclean-pkg will do anything more than your emerge --depclean...

The other part of eclean, eclean-dist, probably doesn't do anything outside of /usr/portage
eclean-pkg cleans out tbz2 files from built packages, which restricts it to $PKGDIR. eclean-dist cleans out distfiles, which restricts it to $DISTDIR. In a default configuration, both of those are directories under /usr/portage.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing 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