Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] eclean ... won't
Date: Sun, 20 Nov 2016 12:48:02
Message-Id: 1cd9c62c-c1da-e5c9-5d02-24bfee3d7512@gmail.com
In Reply to: [gentoo-user] eclean ... won't by Mick
1 Mick wrote:
2 > Hi All,
3 >
4 > Following an update I just ran:
5 >
6 > # /usr/bin/eclean-dist
7 > * Building file list for distfiles cleaning...
8 > * Your distfiles directory was already clean.
9 >
10 > However, looking at source files of firefox as an example I see there are
11 > obsolete sources to be gotten rid of:
12 >
13 > ls -la /usr/portage/distfiles/firefox-45.*
14 > -rw-rw-r-- 1 portage portage 22260 Nov 20 03:07
15 > /usr/portage/distfiles/firefox-45.0-patches-08.tar.xz
16 > -rw-rw-r-- 1 portage portage 423871 Sep 20 13:37
17 > /usr/portage/distfiles/firefox-45.4.0esr-en-GB.xpi
18 > -rw-rw-r-- 1 portage portage 185182396 Sep 20 13:38
19 > /usr/portage/distfiles/firefox-45.4.0esr.source.tar.xz
20 > -rw-rw-r-- 1 portage portage 423871 Nov 15 09:54
21 > /usr/portage/distfiles/firefox-45.5.0esr-en-GB.xpi
22 > -rw-rw-r-- 1 portage portage 184838132 Nov 15 09:55
23 > /usr/portage/distfiles/firefox-45.5.0esr.source.tar.xz
24 >
25 > If I have firefox-45.5.0 installed, why is firefox-45.4.0esr.source.tar.xz not
26 > removed by eclean?
27 >
28
29
30 Most likely because that version is still in the tree. It by default
31 saves the version still in the tree, even if they are not installed. I
32 assume that is in case you need to go back to a previous version. You
33 may be interested in this.
34
35 -d, --deep only keep the minimum for a reinstallation
36
37 Try man eclean for even more options. I use the -d when I know what I
38 am using is stable enough I won't need to go back a version.
39
40 By the way, it does the same for packages as well.
41
42 Hope that helps.
43
44 Dale
45
46 :-) :-)