Comment 0 for bug 1385524

Revision history for this message
Thomas Tanner (tomtanner) wrote : update-manager-text crashes on 13.10

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.