Gentoo Archives: gentoo-user

From: James <wireless@×××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: dealing with distfiles bloat?
Date: Tue, 08 Mar 2016 16:42:33
Message-Id: loom.20160308T173820-503@post.gmane.org
In Reply to: Re: [gentoo-user] dealing with distfiles bloat? by Alexander Kapshuk
1 Alexander Kapshuk <alexander.kapshuk <at> gmail.com> writes:
2
3
4 > > I can't really read the stupid unformatted du output but it looks like I
5 > > have 30 gb of bloat in some 3,600 files in my distfiles directory. is
6 > > there any sane way to prune out some of the older versions, I am in no
7 > > mood to spend all day hand-pruning these and the nuclear option is not
8 > > too friendly to the portage servers that I want to respect.
9 > > nuclear = rm * -> emerge --fetchonly --emptytree system
10
11 is that haskell pseudo_code?? :: (null_grin)
12
13
14 > > Powers are not rights.
15
16 Might makes Right, if you are a history buff....
17
18
19 > eclean-dist?
20
21 'eclean-dist -d -t1m -s50M -f' was very popular [1]
22
23 Some old cli hacks, when the manual itch just needs a good scratching::
24
25 by size::
26 find /usr/portage/distfiles/* -size +50000 -print -exec rm {} \;
27
28 by age::
29 find /var/tmp/portage/* -mtime +120 -print -exec rm {} \;
30
31
32 hth,
33 James
34
35 [1] https://wiki.gentoo.org/wiki/Knowledge_Base:Remove_obsoleted_distfiles