apt-listchanges crashed with AttributeError in __init__()

Bug #193257 reported by Shirish Agarwal
52
This bug affects 9 people
Affects Status Importance Assigned to Milestone
apt-listchanges (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: apt-listchanges

This is same/similar to bug #115001 although AFAIK apt-listchanges is supposed to do a diff of the new & the old .debs

I have tried all the following

sudo apt-listchanges ipe 6.0pre30-2ubuntu1_i386.deb ipe 6.0pre30-1ubuntu1_i386.deb

as well as

sudo apt-listchanges ipe 6.0pre30-2ubuntu1 ipe 6.0pre30-1ubuntu1

but without any success :(

ProblemType: Crash
Architecture: i386
Date: Tue Feb 19 17:58:04 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/apt-listchanges
InterpreterPath: /usr/bin/python2.5
Package: apt-listchanges 2.79ubuntu2
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/apt-listchanges ipe 6.0pre30-2ubuntu1 6.0pre30-1ubuntu1
ProcCwd: /home/shirish
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
 LANG=en_IN
 LANGUAGE=en_IN:en
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/apt-listchanges', 'ipe', '6.0pre30-2ubuntu1', '6.0pre30-1ubuntu1']
SourcePackage: apt-listchanges
Title: apt-listchanges crashed with AttributeError in __init__()
Uname: Linux Mugglewille 2.6.24-8-generic #1 SMP Thu Feb 14 20:40:45 UTC 2008 i686 GNU/Linux
UserGroups:

Tags: apport-crash
Revision history for this message
Shirish Agarwal (shirishag75) wrote :
Revision history for this message
Anzenketh (anzenketh) wrote :

What happens when you try to run apt-listchanges does it crash?

Anzenketh (anzenketh)
Changed in apt-listchanges (Ubuntu):
status: New → Incomplete
Revision history for this message
Jaromir Obr (jaromir-obr) wrote :

I hit the same bug with Lucid, see duplicate bug #553553.
It's reproducible well.

Changed in apt-listchanges (Ubuntu):
status: Incomplete → New
Revision history for this message
Anzenketh (anzenketh) wrote :

What are the exact steps to reproduce the bug?

Changed in apt-listchanges (Ubuntu):
status: New → Incomplete
Revision history for this message
Jaromir Obr (jaromir-obr) wrote :

Exact steps to reproduce:
--------------------------
mira@turion:~$ apt-listchanges plymouth
dpkg-deb: failed to read archive `plymouth': 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'

Result: Apport starts: Sorry, the program "apt-listchanges" closed unexpectedly

Used SW:
Ubuntu 10.04, amd64
plymouth: 0.8.2-2ubuntu2
apt-listchange: 2.84

Changed in apt-listchanges (Ubuntu):
status: Incomplete → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in apt-listchanges (Ubuntu):
status: New → Confirmed
Revision history for this message
kaipanoi (kaipanoi) wrote :

Still a problem on Oneric as of 20110925.

kaipanoi@goaway:~$ apt-listchanges firefox
dpkg-deb: error: failed to read archive `firefox': No such file or directory
Traceback (most recent call last):
  File "/usr/bin/apt-listchanges", line 237, in <module>
    main()
  File "/usr/bin/apt-listchanges", line 102, in main
    pkg = DebianFiles.Package(deb)
  File "/usr/share/apt-listchanges/DebianFiles.py", line 134, in __init__
    self.binary = pkgdata.Package
AttributeError: ControlStanza instance has no attribute 'Package'

kaipanoi@goaway:~$ sudo apt-listchanges gedit
dpkg-deb: error: failed to read archive `gedit': No such file or directory
Traceback (most recent call last):
  File "/usr/bin/apt-listchanges", line 237, in <module>
    main()
  File "/usr/bin/apt-listchanges", line 102, in main
    pkg = DebianFiles.Package(deb)
  File "/usr/share/apt-listchanges/DebianFiles.py", line 134, in __init__
    self.binary = pkgdata.Package
AttributeError: ControlStanza instance has no attribute 'Package'

kaipanoi@goaway:~$ lsb_release -a; uname -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu oneiric (development branch)
Release: 11.10
Codename: oneiric
Linux goaway 3.0.0-11-generic-pae #18-Ubuntu SMP Wed Sep 14 01:24:09 UTC 2011 i686 i686 i386 GNU/Linux

Revision history for this message
iMac (imac-netstatz) wrote :

Just occurred on current 12.04 Beta

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.