AttributeError: 'InstallProgress' object has no attribute 'pkg_failures'

Bug #96444 reported by Jeremiah C. Foster
6
Affects Status Importance Assigned to Milestone
Software Updater
Invalid
Undecided
Unassigned
update-manager (Baltix)
Invalid
Undecided
Unassigned
update-manager (Ubuntu)
Fix Released
High
Michael Vogt

Bug Description

While running do-release-upgrade -d I encountered an error. The text from the error is as follows:

Unpacking replacement python-pycurl ...
Errors were encountered while processing:
 /var/cache/apt/archives/compiz-extra_0.3.6.0-1ubuntu1_i386.deb

A fatal error occured
Please report this as a bug and include the files /var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log in your report. The upgrade aborts now.
Your original sources.list was saved in /etc/apt/sources.list.distUpgrade.
Traceback (most recent call last):

  File "/tmp/tmp_wAOaU/feisty", line 48, in ?
    app.run()

  File "/tmp/tmp_wAOaU/DistUpgradeControler.py", line 853, in run
    self.fullUpgrade()

  File "/tmp/tmp_wAOaU/DistUpgradeControler.py", line 835, in fullUpgrade
    if not self.doDistUpgrade():

  File "/tmp/tmp_wAOaU/DistUpgradeControler.py", line 543, in doDistUpgrade
    if iprogress.pkg_failures == 0:

AttributeError: 'InstallProgress' object has no attribute 'pkg_failures'

A fatal error occured
Please report this as a bug and include the files /var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log in your report. The upgrade aborts now.
Your original sources.list was saved in /etc/apt/sources.list.distUpgrade.
Traceback (most recent call last):

  File "/tmp/tmp_wAOaU/feisty", line 48, in ?
    app.run()

  File "/tmp/tmp_wAOaU/DistUpgradeControler.py", line 853, in run
    self.fullUpgrade()

  File "/tmp/tmp_wAOaU/DistUpgradeControler.py", line 835, in fullUpgrade
    if not self.doDistUpgrade():

  File "/tmp/tmp_wAOaU/DistUpgradeControler.py", line 543, in doDistUpgrade
    if iprogress.pkg_failures == 0:

AttributeError: 'InstallProgress' object has no attribute 'pkg_failures'

Revision history for this message
Jeremiah C. Foster (jeremiah-foster) wrote :

This bug is in feisty-beta. Attached are the files requested in the error report.

Revision history for this message
Jeremiah C. Foster (jeremiah-foster) wrote :

Here is the apt log.

Revision history for this message
Jeremiah C. Foster (jeremiah-foster) wrote :

I installed python-gtk packages with;

 apt-get install python-gtk2 python-gtk2-dev

and this seemed to fix the problem. My apt-sources list is all feisty and /etc/issue says feisty as well.

Revision history for this message
Michael Vogt (mvo) wrote :

Thanks for your bugreport.

This problem is fixed in my local tree and the fix will be part of the next upload.

Cheers,
 Michael

Changed in update-manager:
status: Unconfirmed → Fix Committed
Revision history for this message
Michael Vogt (mvo) wrote :

One task is enough

Changed in update-manager:
status: Unconfirmed → Rejected
status: Unconfirmed → Rejected
assignee: nobody → mvo
importance: Undecided → High
Michael Vogt (mvo)
Changed in update-manager:
status: Fix Committed → Fix Released
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.