Bug#807477: apt: autoclean depends on /var/cache/apt/archives/partial existing
Package: apt
Version: 1.1.4
Severity: normal
Dear Maintainer,
On a system with /var/cache/apt/archives mounted as tmpfs, after 1.0.10.2 -> 1.1.3
update (but persisting in 1.1.4), `apt-get autoclean` fails with:
E: Unable to read /var/cache/apt/archives/partial/ - opendir (2: No such file
or directory)
This causes aptitude with "Remove obsolete package files after downloading
new package lists" option enabled to throw an error after package list
update, until manual creation of said directory.
I found two past, resolved bugs which may be similar to the issue: #523920
#762898
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (650, 'testing'), (600, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.2.0-1-amd64 (SMP w/6 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages apt depends on:
ii adduser 3.113+nmu3
ii debian-archive-keyring 2014.3
ii gnupg 1.4.19-6
ii gnupg2 2.0.28-3
ii gpgv 1.4.19-6
ii libapt-pkg5.0 1.1.4
ii libc6 2.19-22
ii libgcc1 1:5.2.1-23
ii libstdc++6 5.2.1-23
apt recommends no packages.
Versions of packages apt suggests:
pn apt-doc <none>
ii aptitude 0.7.4-2
ii dpkg-dev 1.18.3
ii python-apt 1.1.0~beta1
-- no debconf information
Reply to: