Package: unattended-upgrades
Version: 0.93.1+nmu1
Severity: normal
Tags: patch
Hi,
In the past week, my filesystem finally filled up due to 6GB of
archives in /var/cache/apt/archives. I identified unattended-upgrades
as the cause of this problem, as it didn't purge old packages (hello
texlive!) that it downloaded previously, even when there were
many versions of the same packages.
unattended-upgrades doesn't document how to work around this problem
at all, in itself. There is, however, sparse documentation here and
there that indicate there are ways of doing this with:
// Do "apt-get autoclean" every n-days (0=disable)
APT::Periodic::AutocleanInterval "7";
This is documented in:
https://wiki.debian.org/UnattendedUpgrades
https://debian-handbook.info/browse/stable/sect.regular-upgrades.html
It seem important that the default configuration also documents this
feature, if not just enable it by default.
I filed a pull request upstream for this:
https://github.com/mvo5/unattended-upgrades/pull/68
A.
-- System Information:
Debian Release: 9.1
APT prefers stable
APT policy: (500, 'stable'), (1, 'experimental'), (1, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: armhf
Kernel: Linux 4.9.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8),
LANGUAGE=fr_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages unattended-upgrades depends on:
ii apt1.4.7
ii apt-utils 1.4.7
ii debconf [debconf-2.0] 1.5.61
ii init-system-helpers1.48
ii lsb-base 9.20161125
ii lsb-release9.20161125
ii python33.5.3-1
ii python3-apt1.4.0~beta3
ii ucf3.0036
ii xz-utils 5.2.2-1.2+b1
Versions of packages unattended-upgrades recommends:
ii anacron 2.3-24
ii cron [cron-daemon] 3.0pl1-128+b1
Versions of packages unattended-upgrades suggests:
ii bsd-mailx 8.1.2-0.20160123cvs-4
ii msmtp-mta [mail-transport-agent] 1.6.6-1
ii needrestart 2.11-3
-- debconf information excluded