1 |
On Mon, Feb 27, 2012 at 3:18 PM, Paul Hartman |
2 |
<paul.hartman+gentoo@×××××.com> wrote: |
3 |
> On Mon, Feb 27, 2012 at 4:49 PM, Nikos Chantziaras <realnc@×××××.de> wrote: |
4 |
>> On 28/02/12 00:41, Mark Knecht wrote: |
5 |
>>> |
6 |
>>> Are there any tools that will: |
7 |
>>> |
8 |
>>> 1) Ensure that for every installed packages there is a corresponding |
9 |
>>> tbz2 file in /usr/portage/packages? |
10 |
>>> |
11 |
>>> 2) Remove any older versions in /usr/portage/packages prior to me |
12 |
>>> running a backup? |
13 |
>> |
14 |
>> |
15 |
>> I think app-portage/gentoolkit can help with its "eclean" tool |
16 |
>> (specifically, "eclean-pkg"). |
17 |
>> |
18 |
>> "man eclean" should get you started. |
19 |
> |
20 |
> And as an example of savings... I run eclean once in a while, but not |
21 |
> automated. I just ran it and got these results: |
22 |
> |
23 |
> [ 14.8 G ] Total space from 1673 files were freed in the distfiles directory |
24 |
> |
25 |
> I guess I should use it more frequently. ;) |
26 |
> |
27 |
|
28 |
Hey Paul, |
29 |
I have absolutely no recollection of turning on buildpkg on my |
30 |
wife's machine, but doing updates tonight I noticed it was there and |
31 |
did a quick cleanup. While I didn't beat you, I came closer than I |
32 |
would have guessed just an hour ago! ;-) |
33 |
|
34 |
Cheers, |
35 |
Mark |
36 |
|
37 |
k2 ~ # eclean-pkg -d |
38 |
<SNIP> |
39 |
=========== |
40 |
[ 12.1 G ] Total space from 3793 files were freed in the packages directory |
41 |
k2 ~ # |