Package: unattended-upgrades Version: 0.83.3 Severity: important Hi,
I _think_ there is an error in unattended-upgrades regarding the proper handling of changed configuration files. We have basically two large group of systems where unattended-upgrades is installed. In one of them we change /etc/apt/apt.conf.d/50unattended-upgrades, in another (puppet-managed) cluster we ship /etc/apt/apt.conf.d/99unattended-upgrades-local and delete /etc/apt/apt.conf.d/50unattended-upgrades The systems in the first cluster (changed file) have behaved as expected with the unattended-upgrades update shipped in the last Jessie point release 2015-06-08 02:25:46,879 WARNING Package 'unattended-upgrades' has conffile prompt and needs to be upgraded manually 2015-06-08 02:25:48,847 INFO package 'unattended-upgrades' not upgraded In the second cluster unattended-upgrades attempted an upgrade of itself and failed reproducibly due to a conffile prompt 2015-06-07 02:20:01,297 INFO Packages that will be upgraded: base-files dbus libdbus-1-3 libgnutls-deb0-28 libgnutls-openssl27 libpam-systemd libsystemd0 libudev1 linux-compiler-gcc-4.8-x86 linux-headers-3.16.0-4-amd64 linux-headers-3.16.0-4-common linux-image-3.16.0-4-amd64 linux-libc-dev perl perl-base perl-modules ruby systemd systemd-sysv tasksel tasksel-data udev unattended-upgrades 2015-06-07 02:20:01,298 INFO Writing dpkg log to '/var/log/unattended-upgrades/unattended-upgrades-dpkg.log' 2015-06-07 02:20:16,887 ERROR Exception happened during upgrade. Traceback (most recent call last): File "/usr/bin/unattended-upgrade", line 472, in upgrade_in_minimal_steps res = cache.commit(install_progress=iprogress) File "/usr/lib/python3/dist-packages/apt/cache.py", line 505, in commit raise SystemError("installArchives() failed") SystemError: installArchives() failed 2015-06-07 02:20:16,890 ERROR Installing the upgrades failed! 2015-06-07 02:20:16,890 ERROR error message: 'installArchives() failed' 2015-06-07 02:20:16,890 ERROR dpkg returned a error! See '/var/log/unattended-upgrades/unattended-upgrades-dpkg.log Preparing to unpack .../unattended-upgrades_0.83.3.1_all.deb ... Unpacking unattended-upgrades (0.83.3.1) over (0.83.3) ... Processing triggers for systemd (215-17) ... Processing triggers for man-db (2.7.0.2-5) ... Setting up unattended-upgrades (0.83.3.1) ... Configuration file '/etc/apt/apt.conf.d/50unattended-upgrades' ==> Deleted (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** 50unattended-upgrades (Y/I/N/O/D/Z) [default=N] ? dpkg: error processing package unattended-upgrades (--configure): EOF on stdin at conffile prompt Errors were encountered while processing: unattended-upgrades Error in function: Log ended: 2015-06-07 02:20:16 This leads to unattended-upgrades being held in a half-configured state. So it seems that unattended-upgrades does detect changed configuration files, but not deleted ones. Bernhard -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org