Package: apt-listchanges Version: 2.71 Severity: grave Tags: patch Justification: renders package unusable
After last apt-listchanges upgrade, and doing after that an upgrade from experimental I got the following Traceback: Traceback (most recent call last): File "/usr/bin/apt-listchanges", line 219, in ? main() File "/usr/bin/apt-listchanges", line 127, in main (news, changelog) = pkg.extract_changes(config.which, fromversion) File "/usr/share/apt-listchanges/DebianFiles.py", line 148, in extract_changes changelog = reduce(find_first, changelog_filenames + changelog_filenames_native, None) File "/usr/share/apt-listchanges/DebianFiles.py", line 145, in <lambda> find_first = lambda acc, fname: acc or self.read_changelog(os.path.join(tempdir, fname), since_version) File "/usr/share/apt-listchanges/DebianFiles.py", line 198, in read_changelog if apt_pkg.VersionCompare(match.group('version'), NameError: global name 'apt_pkg' is not defined this is due to a missing "import apt_pkg" in DebianFiles.py. -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.18-2-k7 Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Versions of packages apt-listchanges depends on: ii apt 0.6.46.3 Advanced front-end for dpkg ii debconf [debconf-2.0] 1.5.9 Debian configuration management sy ii debianutils 2.17.3 Miscellaneous utilities specific t ii python 2.4.4-1 An interactive high-level object-o ii python-apt 0.6.19 Python interface to libapt-pkg ii python-support 0.5.6 automated rebuilding support for p ii ucf 2.0017 Update Configuration File: preserv Versions of packages apt-listchanges recommends: ii postfix [mail-transport-a 2.4-20061019-2 A high-performance mail transport -- debconf information: * apt-listchanges/confirm: true * apt-listchanges/which: both * apt-listchanges/frontend: pager * apt-listchanges/email-address: root * apt-listchanges/save-seen: true
--- /usr/share/apt-listchanges/DebianFiles.py 2006-11-27 18:22:33.000000000 -0500 +++ DebianFiles.py 2006-11-28 08:11:11.115303779 -0500 @@ -30,7 +30,7 @@ import errno import glob import shutil - +import apt_pkg import gettext # TODO: