Fernando Meira wrote:

> Hi,
> this is probably an old discussion, sorry for bring it up again.
>
> When I joined Gentoo (a few months ago) I got the idea that I could
> control very well the space that gentoo would require. That would be
> great because of my 4.6G available to it. Then, not so long time ago I
> got very surprised with how much less space available I had when I
> didn't have (almost) anything installed. Now it's completely full and
> I'm the middle of an emerge :(
>
> Well, tears apart, I would like to know if there's a good way to
> control the space usage of portage, since it is the reason for my
> problem.
> My /usr/portage and /var/tmp/portage/ take 2.2G which is almost half
> of the partition.
>
> What I have installed:
>  - some (split) ebuilds of kde 3.4.1
>  - e16
>  - e17
>  - firefox
>  - gimp
>  - acrobat reader 7
>  - xmms, amsn (and maybe a few more small packages)
>
> What I've found until now:
>  - clear /usr/portage/distfiles and /var/tmp/portage after an emerge,
> or regularly (using tmpreaper)
>  - there are some users-made scripts (still buggy) that look for old
> ebuilds in portage tree and erases them
> (http://forums.gentoo.org/viewtopic-t-3011-highlight-portage+space+usage.html
> <http://forums.gentoo.org/viewtopic-t-3011-highlight-portage+space+usage.html>)
>
> Any comments/ideas/scripts about this, or everyone has plenty space to
> spare...
>
> Cheers,
> Fernando

Hi,
Just checking the size of '/usr/portage' and it's quite 3 GB using
reiserfs from which 1,4 GB is in 'distfiles' (source code) and 1,2  GB
in 'packages' (binary packages in my case) so just portage is around 400
MB here.
My '/var/tmp/portage' directory is (~430 MB) together with portage logs
which are the most of it (PORT_LOGDIR=).
You could erase all of '/var/tmp/portage' and '/usr/portage/distfiles'
(you'll have to download the sources again though).
Also check if using "keepwork" in your /etc/make.conf file if 'yes'
remove it (specially in case not having disk space, same for
"buildpkg"). For cleaning 'distfiles' i use "distclean.py" script. Try
out "emerge depclean -pv" but watch out before removing the "p" afterwards.
HTH. Rumen

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to