Bug#828908: apt: destroys "auto" marks when /var is full
Package: apt
Version: 1.0.9.8.3
Severity: normal
Hi,
when /var runs full during installation, apt still tries to write the list
of automatically installed packages, but does so in an unsafe way that
clears the list instead. As a result, all packages are then marked as
manually installed.
I'm not even sure the list needs to be rewritten after dpkg has run, but in
any case it is better to leave the list untouched if it cannot be written
rather than destroy it.
Simon
-- Package-specific info:
-- (no /etc/apt/preferences present) --
-- (/etc/apt/sources.list present, but not submitted) --
-- System Information:
Debian Release: 8.5
APT prefers stable
APT policy: (990, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armhf
Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.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 debian-archive-keyring 2014.3
ii gnupg 1.4.18-7+deb8u1
ii libapt-pkg4.12 1.0.9.8.3
ii libc6 2.19-18+deb8u4
ii libgcc1 1:4.9.2-10
ii libstdc++6 4.9.2-10
apt recommends no packages.
Versions of packages apt suggests:
pn apt-doc <none>
ii aptitude 0.6.11-1+b1
ii dpkg-dev 1.17.27
ii python-apt 0.9.3.12
-- no debconf information
Reply to: