Mick wrote:
> Hi All,
>
> Following an update I just ran:
>
> # /usr/bin/eclean-dist
>  * Building file list for distfiles cleaning...
>  * Your distfiles directory was already clean.
>
> However, looking at source files of firefox as an example I see there are 
> obsolete sources to be gotten rid of:
>
> ls -la /usr/portage/distfiles/firefox-45.*
> -rw-rw-r-- 1 portage portage     22260 Nov 20 03:07 
> /usr/portage/distfiles/firefox-45.0-patches-08.tar.xz
> -rw-rw-r-- 1 portage portage    423871 Sep 20 13:37 
> /usr/portage/distfiles/firefox-45.4.0esr-en-GB.xpi
> -rw-rw-r-- 1 portage portage 185182396 Sep 20 13:38 
> /usr/portage/distfiles/firefox-45.4.0esr.source.tar.xz
> -rw-rw-r-- 1 portage portage    423871 Nov 15 09:54 
> /usr/portage/distfiles/firefox-45.5.0esr-en-GB.xpi
> -rw-rw-r-- 1 portage portage 184838132 Nov 15 09:55 
> /usr/portage/distfiles/firefox-45.5.0esr.source.tar.xz
>
> If I have firefox-45.5.0 installed, why is firefox-45.4.0esr.source.tar.xz 
> not 
> removed by eclean?
>


Most likely because that version is still in the tree.  It by default
saves the version still in the tree, even if they are not installed.  I
assume that is in case you need to go back to a previous version.  You
may be interested in this.

-d, --deep    only keep the minimum for a reinstallation

Try man eclean for even more options.  I use the -d when I know what I
am using is stable enough I won't need to go back a version. 

By the way, it does the same for packages as well.

Hope that helps.

Dale

:-)  :-) 

Reply via email to