Your message dated Tue, 19 Mar 2013 16:18:01 +0000 with message-id <[email protected]> and subject line Bug#703401: fixed in python-apt 0.8.9~exp2 has caused the Debian Bug report #703401, regarding unattended-upgrades: crashes on codename matching to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 703401: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703401 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: unattended-upgrades Version: 0.80~exp2 Severity: important Hi, I upgraded unattended-upgrades on my wheezy machine because it complained about codename matching not working anymore. This also pulled in python-apt from experimental. Nevertheless I get a crash when trying to use it: root@hlds:/etc/apt/apt.conf.d# unattended-upgrades Traceback (most recent call last): File "/usr/bin/unattended-upgrades", line 1039, in <module> main(options) File "/usr/bin/unattended-upgrades", line 818, in main allowed_origins=allowed_origins) File "/usr/bin/unattended-upgrades", line 69, in __init__ self.adjust_candidate_versions() File "/usr/bin/unattended-upgrades", line 86, in adjust_candidate_versions if is_allowed_origin(pkg.candidate, self.allowed_origins): File "/usr/bin/unattended-upgrades", line 399, in is_allowed_origin if match_whitelist_string(allowed, origin): File "/usr/bin/unattended-upgrades", line 302, in match_whitelist_string res &= (value == origin.codename) AttributeError: 'Origin' object has no attribute 'codename' Kind regards Philipp Kern -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (500, 'testing'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-amd64 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages unattended-upgrades depends on: ii apt 0.9.7.7 ii apt-utils 0.9.7.7 ii debconf [debconf-2.0] 1.5.49 ii lsb-base 4.1+Debian8 ii lsb-release 4.1+Debian8 ii python 2.7.3-4 ii python-apt 0.8.9~exp1 ii ucf 3.0025+nmu3 ii xz-utils 5.1.1alpha+20120614-2 unattended-upgrades recommends no packages. Versions of packages unattended-upgrades suggests: ii bsd-mailx 8.1.2-0.20111106cvs-1 ii exim4-daemon-light [mail-transport-agent] 4.80-7 -- Configuration Files: /etc/apt/apt.conf.d/50unattended-upgrades changed: // Unattended-Upgrade::Origins-Pattern controls which packages are // upgraded. // // Lines below have the format format is "keyword=value,...". A // package will be upgraded only if the values in its metadata match // all the supplied keywords in a line. (In other words, omitted // keywords are wild cards.) The keywords originate from the Release // file, but several aliases are accepted. The accepted keywords are: // a,archive,suite (eg, "stable") // c,component (eg, "main", "crontrib", "non-free") // l,label (eg, "Debian", "Debian-Security") // o,origin (eg, "Debian", "Unofficial Multimedia Packages") // n,codename (eg, "squeeze", "squeeze-updates") // site (eg, "http.debian.net") // The available values on the system are printed by the command // "apt-cache policy", and can be debugged by running // "unattended-upgrades -d" and looking at the log file. // // Within lines unattended-upgrades allows 2 macros whose values are // derived from /etc/debian_version: // ${distro_id} Installed origin. // ${distro_codename} Installed codename (eg, "squeeze") 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=wheezy"; "o=Debian,n=wheezy-updates"; "o=Debian,n=wheezy-proposed-updates"; "o=Debian,n=wheezy,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=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
--- End Message ---
--- Begin Message ---Source: python-apt Source-Version: 0.8.9~exp2 We believe that the bug you reported is fixed in the latest version of python-apt, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Michael Vogt <[email protected]> (supplier of updated python-apt package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.8 Date: Tue, 19 Mar 2013 16:57:40 +0100 Source: python-apt Binary: python-apt python-apt-doc python-apt-dbg python-apt-dev python-apt-common python3-apt python3-apt-dbg Architecture: source amd64 all Version: 0.8.9~exp2 Distribution: experimental Urgency: low Maintainer: APT Development Team <[email protected]> Changed-By: Michael Vogt <[email protected]> Description: python-apt - Python interface to libapt-pkg python-apt-common - Python interface to libapt-pkg (locales) python-apt-dbg - Python interface to libapt-pkg (debug extension) python-apt-dev - Python interface to libapt-pkg (development files) python-apt-doc - Python interface to libapt-pkg (API documentation) python3-apt - Python 3 interface to libapt-pkg python3-apt-dbg - Python 3 interface to libapt-pkg (debug extension) Closes: 703401 Changes: python-apt (0.8.9~exp2) experimental; urgency=low . * apt/package.py: - export codename in apt.package.Origin as well (closes: #703401) Checksums-Sha1: 595f69e54cb4e97838e9f1f824e697560e302eb1 1636 python-apt_0.8.9~exp2.dsc 113002b9c8253840addb08a4e1763bc4e40a33bf 404165 python-apt_0.8.9~exp2.tar.gz 339540e096e8885d3ee6b3c44f63c627d91646d4 320868 python-apt_0.8.9~exp2_amd64.deb 00b854af73ba1b37f137cae0d739e58a0302130b 250218 python-apt-doc_0.8.9~exp2_all.deb 1c19c00976a16271aa4ec6bc6b4b43778ec1c530 4284594 python-apt-dbg_0.8.9~exp2_amd64.deb c5da4a5ab7385dd56eb092712e7dc0f4e35d5b81 7658 python-apt-dev_0.8.9~exp2_all.deb c373bdc542db73973f331d1c98271879d022f451 114492 python-apt-common_0.8.9~exp2_all.deb f75bba660285014c7b635077327c6dd78271ccaf 199908 python3-apt_0.8.9~exp2_amd64.deb 3c7e26b42e8f9edb94ee66343aabbf9cf59b67e6 2140102 python3-apt-dbg_0.8.9~exp2_amd64.deb Checksums-Sha256: 4b4c5a5372ac77269be7140ac9f63c10cc48fa928834ff7362acbecf26430121 1636 python-apt_0.8.9~exp2.dsc b80727b0919818d28b4edf2d583e4506c2384a3cea3bd7d297df98b21deb6d1f 404165 python-apt_0.8.9~exp2.tar.gz 916381d6e670702a5ca9d844aba78a904c0b7bc31a51e2476ac61b8358d7bca5 320868 python-apt_0.8.9~exp2_amd64.deb 791ade220c141b5951e00259c2fa8959ee145f2b8f69a72b06a12456d81c4fa2 250218 python-apt-doc_0.8.9~exp2_all.deb b49c4ae207428385c3e7fe6af59563a69a78ccabc4b49813a6662f89f5ea3026 4284594 python-apt-dbg_0.8.9~exp2_amd64.deb 76c5dacf539566a274ba9ca65b1d525bfd69720d75f37eda644ee8419a15526d 7658 python-apt-dev_0.8.9~exp2_all.deb 80a842b09c58f838fbf237f8e7487f73d075babc38bfaede7f4bd484f13fd9c8 114492 python-apt-common_0.8.9~exp2_all.deb a8592a957075f330b9f2df31e08ecf3b37fde5dcc197daba8207e3388c328f28 199908 python3-apt_0.8.9~exp2_amd64.deb 4da9c0d6678a547bfe840156bc82b9ac13936845c519df730a25a1167bb63489 2140102 python3-apt-dbg_0.8.9~exp2_amd64.deb Files: 2997c7f53cce60ddd90f75927c4ecf2a 1636 python standard python-apt_0.8.9~exp2.dsc c2636074249df598f034f93d2420ae5a 404165 python standard python-apt_0.8.9~exp2.tar.gz 7ba4d0aabfeb651259001dea1b31fa34 320868 python standard python-apt_0.8.9~exp2_amd64.deb 250727f592cba8df3eda9c59ac500d4e 250218 doc optional python-apt-doc_0.8.9~exp2_all.deb 5dd99470205ae55d24a903cfde26725e 4284594 debug extra python-apt-dbg_0.8.9~exp2_amd64.deb 2140aa1ca3a8fff249948cea93fa817e 7658 python optional python-apt-dev_0.8.9~exp2_all.deb 835ad3a2556cab90047784e3ed962c83 114492 python optional python-apt-common_0.8.9~exp2_all.deb 629cf0e7275c2643af7a4731b8537f3f 199908 python optional python3-apt_0.8.9~exp2_amd64.deb 711fcb69306fcf147751fc2eca74ed4e 2140102 debug extra python3-apt-dbg_0.8.9~exp2_amd64.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlFIi/UACgkQliSD4VZixzQjDwCfdaCXZVW1f1V6LUIMwbA3hLCY Es8An1E0ol+YdcTVRSYYGnk/SYcOab2H =zBdU -----END PGP SIGNATURE-----
--- End Message ---

