[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt-Cache zu voll



* Jörg Sommer <joerg@alea.gnuu.de> wrote:
> Hallo Michael,
> 
> Michael Schutte <m.schutte.jr@gmail.com> wrote:
> > On Mon, Jan 07, 2008 at 11:26:10AM +0000, Jörg Sommer wrote:
> >> Automatisch passiert das nicht. Du musst es anstoßen. apt-get clean
> >> oder autoclean. Schau einfach mal in die Manpage.
> >
> > Man kann es aber automatisch passieren lassen:
> >
> >     APT::Periodic::AutocleanInterval "1";
> >
> > in der Datei /etc/apt/apt.conf.d/10periodic stößt autoclean einmal
> > täglich über cron oder anacron an (die Zahl gibt die Anzahl der Tage
> > zwischen zwei Läufen an).
> 
> Wie geht das? Liest cron die apt.conf? Was ist, wenn ich fcron benutze?
> Das ist mir alles sehr suspekt.

Das steht so in /etc/cron.daily/apt. Inwiefern das mit fcron auch
funktioniert entzieht sich meiner Kenntnis.

,----
| # This file understands the following apt configuration variables:
| #
| #  "APT::Periodic::Update-Package-Lists=1"
| #  - Do "apt-get update" automatically every n-days (0=disable)
| #    
| #  "APT::Periodic::Download-Upgradeable-Packages=0",
| #  - Do "apt-get upgrade --download-only" every n-days (0=disable)
| # 
| #  "APT::Periodic::AutocleanInterval"
| #  - Do "apt-get autoclean" every n-days (0=disable)
| #
| #  "APT::Archives::MaxAge",
| #  - Set maximum allowed age of a cache package file. If a cache 
| #    package file is older it is deleted (0=disable)
| #
| #  "APT::Archives::MaxSize",
| #  - Set maximum size of the cache in MB (0=disable). If the cache
| #    is bigger, cached package files are deleted until the size
| #    requirement is met (the biggest packages will be deleted 
| #    first).
| #
| #  "APT::Archives::MinAge"
| #  - Set minimum age of a package file. If a file is younger it
| #    will not be deleted (0=disable). Usefull to prevent races 
| #    and to keep backups of the packages for emergency.
| # 
| 
`----

Gruß
Jens


Reply to: