[Bug 1385524] [NEW] update-manager-text crashes on 13.10

Thomas Tanner 1385524 at bugs.launchpad.net
Fri Oct 24 22:58:27 UTC 2014


Public bug reported:

Trying to upgrade from a minimal 13.10 installation with
# update-manager-text
Reading package lists... Done
Building dependency tree
Reading state information... Done
Building data structures... Done
Building Updates List
Traceback (most recent call last):
  File "/usr/bin/update-manager-text", line 70, in <module>
    app = UpdateManagerText(data_dir)
  File "/usr/lib/python3/dist-packages/UpdateManagerText/UpdateManagerText.py", line 55, in __init__
    self.fillstore()
  File "/usr/lib/python3/dist-packages/UpdateManagerText/UpdateManagerText.py", line 90, in fillstore
    self.list.pkgs, key=operator.attrgetter("importance"),
AttributeError: 'UpdateList' object has no attribute 'pkgs'

Looking at the source
/usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py
and it's earlier versions (from 13.04) it's obvious that there seems to be a version mismatch between
ii  update-manager-core      1:0.194.2         all               manage release upgrades
ii  update-manager-text      1:0.194.2         all               Text application that manages apt updates

as there is no self.pkgs defined anywhere in the class UpdateList.
So either update-manager-text or -core needs to be updated.

However, do-release-upgrade works but I thought I should report this
bug.

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: dist-upgrade

** Tags added: dist-upgrade

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to update-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1385524

Title:
  update-manager-text crashes on 13.10

Status in “update-manager” package in Ubuntu:
  New

Bug description:
  Trying to upgrade from a minimal 13.10 installation with
  # update-manager-text
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Building data structures... Done
  Building Updates List
  Traceback (most recent call last):
    File "/usr/bin/update-manager-text", line 70, in <module>
      app = UpdateManagerText(data_dir)
    File "/usr/lib/python3/dist-packages/UpdateManagerText/UpdateManagerText.py", line 55, in __init__
      self.fillstore()
    File "/usr/lib/python3/dist-packages/UpdateManagerText/UpdateManagerText.py", line 90, in fillstore
      self.list.pkgs, key=operator.attrgetter("importance"),
  AttributeError: 'UpdateList' object has no attribute 'pkgs'

  Looking at the source
  /usr/lib/python3/dist-packages/UpdateManager/Core/UpdateList.py
  and it's earlier versions (from 13.04) it's obvious that there seems to be a version mismatch between
  ii  update-manager-core      1:0.194.2         all               manage release upgrades
  ii  update-manager-text      1:0.194.2         all               Text application that manages apt updates

  as there is no self.pkgs defined anywhere in the class UpdateList.
  So either update-manager-text or -core needs to be updated.

  However, do-release-upgrade works but I thought I should report this
  bug.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/1385524/+subscriptions



More information about the foundations-bugs mailing list