November 22, 2006

Cleanup time?

Posted in Gentoo at 15:54 by theBlackDragon

I’ve been running Gentoo on my desktop for quite some time now, according to my emerge.log since 3 april 2005,

% head -n 1 /var/log/emerge.log
1112547957: Started emerge on: Apr 03, 2005 17:05:57

but I haven’t cleaned any portage directories since that day. So after more than a year of use Portage hogged over 4.6GB of space in /var/tmp/portage…

Today I decided to do some more cleanup after a corrupt package download and this is what I got:

[theblackdragon@ira ~]% rm /usr/portage/distfiles/*
zsh: sure you want to delete all the files in /usr/portage/distfiles [yn]? y
zsh: argument list too long: rm
[theblackdragon@ira ~]% ls -l /usr/portage/distfiles|wc -l
3229
[theblackdragon@ira ~]% du -hs /usr/portage/distfiles
9.9G /usr/portage/distfiles

This really made me go “yoinks”… Guess I should clean up more often. Heh.