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

Norbert 1385524 at bugs.launchpad.net
Fri Feb 23 10:59:31 UTC 2018


+1 to Jasper Vogel comment.

Droping package is a bad idea. Please fix the package!

** Summary changed:

- drop update-manager-text package
+ update-manager-text crashes in all supported releases

** Changed in: update-manager (Ubuntu Bionic)
       Status: Triaged => Confirmed

** Description changed:

- Trying to upgrade from a minimal 13.10 installation with
+ Steps to reproduce:
+ Launch update-manager-text on any supported Ubuntu version.
+ 
+ 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"),
+   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.

** Summary changed:

- update-manager-text crashes in all supported releases
+ [SRU] update-manager-text crashes in all supported releases

** Description changed:

  Steps to reproduce:
- Launch update-manager-text on any supported Ubuntu version.
+ Launch 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.

** Description changed:

  Steps to reproduce:
- Launch update-manager-text on any supported Ubuntu version (14.04 LTS, 16.04 LTS, 17.10 and 18.04 LTS).
+ 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.

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