[Bug 1385524] Re: [SRU] update-manager-text crashes in all supported releases

Launchpad Bug Tracker 1385524 at bugs.launchpad.net
Tue Mar 6 00:46:29 UTC 2018


** Branch linked: lp:update-manager

-- 
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:
  [SRU] update-manager-text crashes in all supported releases

Status in update-manager package in Ubuntu:
  Confirmed
Status in update-manager source package in Bionic:
  Confirmed

Bug description:
  Steps to reproduce:
  Launch `sudo update-manager-text` on any supported Ubuntu version (14.04 LTS, 16.04 LTS, 17.10 and 18.04 LTS).

  Expected results:
  update-manager-text works normally.

  Actual results:
  update-manager-text crashes.

  # 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'

  Part of original description in below (about obsolete 13.04 and
  13.10).

  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