Package: apt-listchanges
Version: 2.83
Severity: normal

apt-listchanges does not handle an exception if the file given as an argument
does not exist:

j...@lupin:~/debian/packages/working/builder$ apt-listchanges get-iplayer
dpkg-deb: failed to read archive `get-iplayer': No such file or directory
Traceback (most recent call last):
  File "/usr/bin/apt-listchanges", line 229, in <module>
    main()
  File "/usr/bin/apt-listchanges", line 102, in main
    pkg = DebianFiles.Package(deb)
  File "/usr/share/apt-listchanges/DebianFiles.py", line 109, in __init__
    self.binary  = pkgdata.Package
AttributeError: ControlStanza instance has no attribute 'Package'

In this directory, a .deb should have been supplied, not a package name.


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt-listchanges depends on:
ii  apt                           0.7.23.1   Advanced front-end for dpkg
ii  debconf [debconf-2.0]         1.5.27     Debian configuration management sy
ii  debianutils                   3.2.1      Miscellaneous utilities specific t
ii  python                        2.5.4-3    An interactive high-level object-o
ii  python-apt                    0.7.13.3   Python interface to libapt-pkg
ii  python-support                1.0.3      automated rebuilding support for P
ii  ucf                           3.0022     Update Configuration File: preserv

Versions of packages apt-listchanges recommends:
ii  postfix [mail-transport-agent 2.6.5-2    High-performance mail transport ag

Versions of packages apt-listchanges suggests:
ii  epiphany-gecko [www-browser]  2.26.3-2   Intuitive GNOME web browser - Geck
ii  gnome-terminal [x-terminal-em 2.26.3.1-1 The GNOME terminal emulator applic
ii  iceweasel [www-browser]       3.0.14-1   lightweight web browser based on M
ii  links [www-browser]           2.2-1+b1   Web browser running in text mode
ii  python-glade2                 2.16.0-1   GTK+ bindings: Glade support
ii  python-gtk2                   2.16.0-1   Python bindings for the GTK+ widge
ii  w3m [www-browser]             0.5.2-2.1  WWW browsable pager with excellent
ii  xterm [x-terminal-emulator]   248-1      X terminal emulator

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to