Package: unattended-upgrades
Version: 0.70
Severity: grave

Trying to upgrade packages results in this traceback:

Traceback (most recent call last):
  File "/usr/bin/unattended-upgrade", line 608, in <module>
    main(options)
  File "/usr/bin/unattended-upgrade", line 463, in main
    if conffile_prompt(item.destfile):
  File "/usr/bin/unattended-upgrade", line 193, in conffile_prompt
    pkg_conffiles = apt_inst.debExtractControl(
AttributeError: 'module' object has no attribute 'debExtractControl'

This happens only when there are actually packages to upgrade.


-- System Information:
Debian Release: wheezy/sid
Architecture: i386 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages unattended-upgrades depends on:
ii  apt                          0.8.14.1    Advanced front-end for dpkg
ii  apt-utils                    0.8.14.1    APT utility programs
ii  debconf [debconf-2.0]        1.5.39      Debian configuration management sy
ii  lsb-release                  3.2-27      Linux Standard Base version report
ii  python                       2.6.6-14    interactive high-level object-orie
ii  python-apt                   0.8.0       Python interface to libapt-pkg
ii  ucf                          3.0025+nmu2 Update Configuration File: preserv

unattended-upgrades recommends no packages.

Versions of packages unattended-upgrades suggests:
pn  bsd-mailx                     <none>     (no description available)

-- Configuration Files:
/etc/apt/apt.conf.d/50unattended-upgrades changed:
// Automatically upgrade packages from these (origin, archive) pairs
Unattended-Upgrade::Origins-Pattern {
        "origin=Debian,label=Debian-Security,archive=stable";
        "o=Debian,a=stable";
        "o=Debian,a=testing";
//      "o=Debian,a=oldstable";
//      "o={distro_id},a=${distro_codename}-proposed-updates";
};
// List of packages to not update
Unattended-Upgrade::Package-Blacklist {
//      "vim";
//      "libc6";
//      "libc6-dev";
//      "libc6-i686";
};
// 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. The package 'mailx'
// must be installed or anything that provides /usr/bin/mail.
//Unattended-Upgrade::Mail "root@localhost";
// 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: false

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to