Package: unattended-upgrades
Version: 0.79.3
Severity: normal
I've got this message from Cron for the last three days:
| /etc/cron.daily/apt:
| Traceback (most recent call last):
| File "/usr/bin/unattended-upgrade", line 56, in <module>
| DISTRO_CODENAME = lsb_release.get_distro_information()['CODENAME']
| KeyError: 'CODENAME'
The last successful run was on Aug 16. A manual execution appears to
work without error (see attached).
Cheers
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-3-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages unattended-upgrades depends on:
ii apt 0.9.7.4
ii apt-utils 0.9.7.4
ii debconf [debconf-2.0] 1.5.46
ii lsb-base 4.1+Debian7
ii lsb-release 4.1+Debian7
ii python 2.7.3-2
ii python-apt 0.8.7
ii ucf 3.0025+nmu3
unattended-upgrades recommends no packages.
Versions of packages unattended-upgrades suggests:
pn bsd-mailx <none>
ii ssmtp [mail-transport-agent] 2.64-7
-- Configuration Files:
/etc/apt/apt.conf.d/50unattended-upgrades changed:
// Automatically upgrade packages from these origin patterns
Unattended-Upgrade::Origins-Pattern {
// Codename based matching:
// This will follow the migration of a release through different
// archives (e.g. from testing to stable and later oldstable).
// "o=Debian,n=squeeze";
// "o=Debian,n=squeeze-updates";
// "o=Debian,n=squeeze-proposed-updates";
// "o=Debian,n=squeeze,l=Debian-Security";
// Archive or Suite based matching:
// Note that this will silently match a different release after
// migration to the specified archive (e.g. testing becomes the
// new stable).
"o=Debian,a=unstable";
// "o=Debian,a=stable";
// "o=Debian,a=stable-updates";
// "o=Debian,a=proposed-updates";
"origin=Debian,archive=stable,label=Debian-Security";
};
// List of packages to not update
Unattended-Upgrade::Package-Blacklist {
// "vim";
// "libc6";
// "libc6-dev";
// "libc6-i686";
};
// This option allows you to control if on a unclean dpkg exit
// unattended-upgrades will automatically run
// dpkg --force-confold --configure -a
// The default is true, to ensure updates keep getting installed
//Unattended-Upgrade::AutoFixInterruptedDpkg "false";
// Split the upgrade into the smallest possible chunks so that
// they can be interrupted with SIGUSR1. This makes the upgrade
// a bit slower but it has the benefit that shutdown while a upgrade
// is running is possible (with a small delay)
//Unattended-Upgrade::MinimalSteps "true";
// Install all unattended-upgrades when the machine is shuting down
// instead of doing it in the background while the machine is running
// This will (obviously) make shutdown slower
//Unattended-Upgrade::InstallOnShutdown "true";
// Send email to this address for problems or packages upgrades
// If empty or unset then no email is sent, make sure that you
// have a working mail setup on your system. A package that provides
// 'mailx' must be installed. E.g. "[email protected]"
Unattended-Upgrade::Mail "root";
// Set this value to "true" to get emails only on errors. Default
// is to always send a mail if Unattended-Upgrade::Mail is set
//Unattended-Upgrade::MailOnlyOnError "true";
// Do automatic removal of new unused dependencies after the upgrade
// (equivalent to apt-get autoremove)
//Unattended-Upgrade::Remove-Unused-Dependencies "false";
// Automatically reboot *WITHOUT CONFIRMATION* if a
// the file /var/run/reboot-required is found after the upgrade
//Unattended-Upgrade::Automatic-Reboot "false";
// Use apt bandwidth limit feature, this example limits the download
// speed to 70kb/sec
//Acquire::http::Dl-Limit "70";
-- debconf information:
* unattended-upgrades/enable_auto_updates: true
root@frost:~# unattended-upgrade --debug --dry-run
Initial blacklisted packages:
Starting unattended upgrades script
Allowed origins are: ['o=Debian,a=unstable',
'origin=Debian,archive=stable,label=Debian-Security']
Checking: ifupdown (["<Origin component:'main' archive:'unstable'
origin:'Debian' label:'Debian' site:'http.debian.net' isTrusted:True>",
"<Origin component:'' archive:'' origin:'' label:'' site:'ftp.ro.debian.org'
isTrusted:False>"])
Checking: jsvc (["<Origin component:'main' archive:'unstable' origin:'Debian'
label:'Debian' site:'http.debian.net' isTrusted:True>", "<Origin component:''
archive:'' origin:'' label:'' site:'ftp.ro.debian.org' isTrusted:False>"])
Checking: libcommons-daemon-java (["<Origin component:'main' archive:'unstable'
origin:'Debian' label:'Debian' site:'http.debian.net' isTrusted:True>",
"<Origin component:'' archive:'' origin:'' label:'' site:'ftp.ro.debian.org'
isTrusted:False>"])
Checking: logrotate (["<Origin component:'main' archive:'unstable'
origin:'Debian' label:'Debian' site:'http.debian.net' isTrusted:True>",
"<Origin component:'' archive:'' origin:'' label:'' site:'ftp.ro.debian.org'
isTrusted:False>"])
Checking: maven2 (["<Origin component:'main' archive:'unstable' origin:'Debian'
label:'Debian' site:'http.debian.net' isTrusted:True>", "<Origin component:''
archive:'' origin:'' label:'' site:'ftp.ro.debian.org' isTrusted:False>"])
pkgs that look like they should be upgraded: ifupdown
jsvc
libcommons-daemon-java
logrotate
maven2
Fetched 0 B in 0s (0 B/s)
fetch.run() result: 0
<apt_pkg.AcquireItem object:Status: 2 Complete: 1 Local: 1 IsTrusted: 1
FileSize: 60250 DestFile:'/var/cache/apt/archives/ifupdown_0.7.2_i386.deb'
DescURI:
'http://http.debian.net/debian/pool/main/i/ifupdown/ifupdown_0.7.2_i386.deb'
ID:0 ErrorText: ''>
check_conffile_prompt('/var/cache/apt/archives/ifupdown_0.7.2_i386.deb')
found pkg: ifupdown
conffile line: '/etc/init.d/networking e0cf86ec60100f8bc16e67a969a5b906'
current md5: e0cf86ec60100f8bc16e67a969a5b906
conffile line: '/etc/default/networking 35cd4a2713981c9239ce4532c1bfc1c7'
current md5: 35cd4a2713981c9239ce4532c1bfc1c7
<apt_pkg.AcquireItem object:Status: 2 Complete: 1 Local: 1 IsTrusted: 1
FileSize: 51488 DestFile:'/var/cache/apt/archives/logrotate_3.8.2-1_i386.deb'
DescURI:
'http://http.debian.net/debian/pool/main/l/logrotate/logrotate_3.8.2-1_i386.deb'
ID:0 ErrorText: ''>
check_conffile_prompt('/var/cache/apt/archives/logrotate_3.8.2-1_i386.deb')
found pkg: logrotate
conffile line: '/etc/logrotate.conf 176edd439a499501372cf3d04e795810'
current md5: 176edd439a499501372cf3d04e795810
conffile line: '/etc/cron.daily/logrotate d2281ecb6f898b446ac8a5984ab5a243'
current md5: d2281ecb6f898b446ac8a5984ab5a243
<apt_pkg.AcquireItem object:Status: 2 Complete: 1 Local: 1 IsTrusted: 1
FileSize: 60332
DestFile:'/var/cache/apt/archives/libcommons-daemon-java_1.0.10-3_all.deb'
DescURI:
'http://http.debian.net/debian/pool/main/c/commons-daemon/libcommons-daemon-java_1.0.10-3_all.deb'
ID:0 ErrorText: ''>
check_conffile_prompt('/var/cache/apt/archives/libcommons-daemon-java_1.0.10-3_all.deb')
found pkg: libcommons-daemon-java
No conffiles in deb
'/var/cache/apt/archives/libcommons-daemon-java_1.0.10-3_all.deb' (There is no
member named 'conffiles')
<apt_pkg.AcquireItem object:Status: 2 Complete: 1 Local: 1 IsTrusted: 1
FileSize: 27274 DestFile:'/var/cache/apt/archives/jsvc_1.0.10-3_i386.deb'
DescURI:
'http://http.debian.net/debian/pool/main/c/commons-daemon/jsvc_1.0.10-3_i386.deb'
ID:0 ErrorText: ''>
check_conffile_prompt('/var/cache/apt/archives/jsvc_1.0.10-3_i386.deb')
found pkg: jsvc
No conffiles in deb '/var/cache/apt/archives/jsvc_1.0.10-3_i386.deb' (There is
no member named 'conffiles')
<apt_pkg.AcquireItem object:Status: 2 Complete: 1 Local: 1 IsTrusted: 1
FileSize: 2226466 DestFile:'/var/cache/apt/archives/maven2_2.2.1-12_all.deb'
DescURI:
'http://http.debian.net/debian/pool/main/m/maven2/maven2_2.2.1-12_all.deb' ID:0
ErrorText: ''>
check_conffile_prompt('/var/cache/apt/archives/maven2_2.2.1-12_all.deb')
found pkg: maven2
conffile line: '/etc/maven2/settings.xml b3e7353913d77d878a903bbd0004e7d9'
current md5: b3e7353913d77d878a903bbd0004e7d9
conffile line: '/etc/maven2/m2.conf 53beac6b8092dd9cb18411de6d033bd7'
current md5: 53beac6b8092dd9cb18411de6d033bd7
conffile line: '/etc/bash_completion.d/maven2 c410985b7dcc9e7489bd8d0c940e27e9'
current md5: c410985b7dcc9e7489bd8d0c940e27e9
blacklist: []
InstCount=5 DelCount=0 BrokenCout=0
Option --dry-run given, *not* performing real actions
Packages that are upgraded: ifupdown jsvc libcommons-daemon-java logrotate
maven2
Writing dpkg log to
'/var/log/unattended-upgrades/unattended-upgrades-dpkg_2012-08-20_09:21:02.251048.log'
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Reading changelogs...
/usr/bin/dpkg --status-fd 6 --unpack --auto-deconfigure
/var/cache/apt/archives/ifupdown_0.7.2_i386.deb
/var/cache/apt/archives/logrotate_3.8.2-1_i386.deb
/var/cache/apt/archives/libcommons-daemon-java_1.0.10-3_all.deb
/var/cache/apt/archives/jsvc_1.0.10-3_i386.deb
/var/cache/apt/archives/maven2_2.2.1-12_all.deb
/usr/bin/dpkg --status-fd 8 --configure ifupdown:i386 logrotate:i386
libcommons-daemon-java:all jsvc:i386 maven2:all
[ Rootkit Hunter version 1.4.0 ]
File updated: searched for 169 files, found 140
All upgrades installed