[Bug 1385524] Re: drop update-manager-text package

Philippe Coval 1385524 at bugs.launchpad.net
Tue Oct 29 09:51:06 UTC 2019


$ dpkg -s update-manager-text | grep Version
Version: 1:17.10.13


$ update-manager-text -V
update-manager-text: version 1:19.04.5

$ update-manager-text 
Reading package lists... Done
Building dependency tree        
Reading state information... 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'

$ sudo aptitude remove update-manager-text

$ sudo aptitude install update-manager-text

Couldn't find any package whose name or description matched "update-
manager-text"

OK Package was out of distro but remained on mine, 
maybe a conflict, replace would help in debian/control ?

-- 
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:
  drop update-manager-text package

Status in update-manager package in Ubuntu:
  Fix Released
Status in update-manager source package in Bionic:
  Fix Released

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