Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] cleaning:/usr/tmp/portage
Date: Fri, 03 Sep 2010 15:29:34
Message-Id: 201009031726.04370.alan.mckinnon@gmail.com
In Reply to: [gentoo-user] cleaning:/usr/tmp/portage by James
1 Apparently, though unproven, at 16:55 on Friday 03 September 2010, James did
2 opine thusly:
3
4 > Hello,
5 >
6 > What the usual admin cycle/tools/habits
7 > for pruning /usr/tmp/portage
8 > for a Gentoo workstation
9 > or server?
10
11 at any arb point in time:
12
13 if (no instance of emerge running)
14 then
15 rm -rf /var/tmp/portage/*
16 endif
17
18 Keeping that stuff is pointless unless you are working on a failed ebuild. In
19 which case you won't run rm just yet. emerge nukes it anyway on the next
20 emerge of that package.
21
22 ebuild itself doesn't nuke it, but you really shouldn't be running ebuild
23 directly unless you are dev'ing something. To no need to ever keep that tmp
24 stuff around
25
26 --
27 alan dot mckinnon at gmail dot com