Eclean/de

is a tool for cleaning repository source files and binary packages. It is part of the package and managed by the Portage-Tools project.

Emerge
Install :

Bedienung
By default, source files are located in the directory, while binary packages are located in the  directory. The locations for each can be changed by altering the DISTDIR and the PKGDIR variables respectively in. Both locations can grow quite big if not periodically cleaned; this is the reason was created.

Invocation
Use to see full action summary, options list, and usage breakdown:

Distfiles bereinigen
Säubern Sie das Quelldatei-Verzeichnis durch Übergabe des  Arguments:

Oder durch Aufruf der kurzen Option:

Pakete bereinigen
Für das Verzeichnis mit den Binärpaketen verwenden Sie stattdessen den folgenden Befehl:

Oder durch Aufruf der kurzen Option:

Standardmässig werden Quelldateien und Binärpakete mit Bezug zu irgendeinem Ebuild im aktuellen Portage-Baum nicht gelöscht. Dadurch können Systemadministratoren leicht ein Paket downgraden oder ein zuvor entferntes Paket installieren, vorausgesetzt das Paket befindet sich immer noch im aktuellen Portage-Baum.

As an example, suppose packages foo-1.0 and foo-1.1 are both in the repository. After updating from foo-1.0 to foo-1.1, run : source files for both versions will be kept, so if a problem occurs with foo-1.1 then the user can easily re-install foo-1.0 without re-downloading anything.

The other possible case is installing a previously removed package. Suppose that a package foo (any version) is installed on the system. After (inadvertently) removing it and running, the source files for foo will be kept, so it can be re-installed without re-downloading anything.

Die gleichen Beispiele sind ebenfalls für Binärpakete anwendbar.

To save more disk space, add the  option: every source file or binary package that does not correspond to some currently installed package with version will be deleted. Please notice that this way users will not be protected in case they need to downgrade a package or re-install a previously removed package.

As an alternative, use both the  and the   options: every source file or binary package that does not correspond to some currently installed package (version does not matter) will be deleted. This still will not protect in case a re-install of a previously removed package is needed, but it will protect the sources if the package needs to be downgraded later.

Für weitere Details lesen Sie die eclean(1) Man-Page:

Siehe auch

 * Gentoolkit
 * Knowledge Base: Remove obsoleted distfiles