Package: unattended-upgrades Version: 0.2 Severity: important For some reason, unattended-upgrade simply would not upgrade awstats. It did not say why in its log files. Finally I looked at the code and saw it had a --debug option. This made it log the following:
2008-12-06 11:27:55,951 INFO Initial blacklisted packages: 2008-12-06 11:27:55,963 INFO Starting unattended upgrades script 2008-12-06 11:27:55,964 INFO Allowed origins are: ["['Debian', 'stable']"] 2008-12-06 11:27:57,870 DEBUG Checking: awstats (["component: 'main' archive: 'stable' origin: 'Debian' label: 'Debian-Security' site 'security.debian.org' isTrusted: 'True'"]) 2008-12-06 11:27:59,281 DEBUG pkgs that look like they should be upgraded: awstats 2008-12-06 11:27:59,391 DEBUG <pkgAcquire::ItemIterator object: Status: 2 Complete: 1 Local: 1 IsTrusted: 1 FileSize: 837326 DestFile:'/var/cache/apt/archives/awstats_6.5+dfsg-1+etch1_all.deb' DescURI: 'http://security.debian.org/pool/updates/main/a/awstats/awstats_6.5+dfsg-1+etch1_all.deb' ID:0 ErrorText: ''> 2008-12-06 11:27:59,392 DEBUG check_conffile_prompt('/var/cache/apt/archives/awstats_6.5+dfsg-1+etch1_all.deb') 2008-12-06 11:27:59,486 DEBUG found pkg: awstats 2008-12-06 11:27:59,488 DEBUG conffile line: /etc/cron.d/awstats 7b9a4d5a815fb1a569935d02b06c8209 2008-12-06 11:27:59,553 DEBUG pkg 'awstats' has conffile prompt 2008-12-06 11:27:59,565 DEBUG blacklist: ['awstats'] 2008-12-06 11:28:00,332 DEBUG Checking (blacklist): awstats 2008-12-06 11:28:00,978 INFO package 'awstats' not upgraded 2008-12-06 11:28:01,655 DEBUG InstCount=0 DelCount=0 BrokenCout=0 2008-12-06 11:28:01,656 INFO No packages found that can be upgraded unattended Ah, so there is a conffile prompt, fair enough. It would be nice to log that without having to enable debug mode though. Anyway, then I upgraded the awstats package expecting a conffile prompt, but... $ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be upgraded: awstats 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/837kB of archives. After this operation, 131kB disk space will be freed. Do you want to continue [Y/n]? Reading changelogs... apt-listchanges: Mailing root: apt-listchanges: changelogs for crypt (Reading database ... 60662 files and directories currently installed.) Preparing to replace awstats 6.5+dfsg-1 (using .../awstats_6.5+dfsg-1+etch1_all.deb) ... Unpacking replacement awstats ... Setting up awstats (6.5+dfsg-1+etch1) ... $ No conffile prompts to be seen! :) -- System Information: Debian Release: 4.0 APT prefers stable APT policy: (540, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-6-686 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Versions of packages unattended-upgrades depends on: ii apt-utils 0.7.18 APT utility programs ii python 2.4.4-2 An interactive high-level object-o ii python-apt 0.7.7.1+nmu1 Python interface to libapt-pkg unattended-upgrades recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]