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

Bug#511578: default AutocleanInterval to > 0



Thijs Kinkhorst wrote:
> Package: apt
> Version: 0.7.20
> Severity: wishlist
> 
> Hi,
Hi Thijs,

> Please consider to change the default for APT::Periodic:AutocleanInterval
> to something higher than 0 (e.g. 7).
> 
> My rationale is that in the current default setup, APT's package cache
> will grow indefinitely. The autoclean option from the apt cron.daily
> script provides an elegant way to prevent the cache from growing out of
> control with old packages, but it is not run automatically; you have to
> change the setting for that.
> 
> As I see autoclean doing no harm on a system by default, let's enable it
> by default.
Autoclean can do unwanted if someone needs to downgrade (or upgrade?) a
package to previous version that was installed only day ago and worked well,
it can be found in /var/cache/apt/archives, but already cannot in all official
archives as they contain newer versions. Snapshots.debian.net doesn't contain
all versions, and few people know about it.

I also remember several such questions on debian-user@, for example. If user
needs this feature, it can just set this option, this should not be a problem,
IMO.

See also related bug #160743, I wonder if they can be merged.

I would mark this as wontfix. Other developers may concur.

-- 
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
Ukrainian C++ Developer, Debian Maintainer, APT contributor

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: