drop update-manager-text package

Bug #1385524 reported by Thomas Tanner
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
High
Unassigned
Bionic
Fix Released
High
Unassigned

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.

Related branches

tags: added: dist-upgrade
Revision history for this message
Olleg Samoylov (olleg) wrote :

Ubuntu 14.04 LTS, update-manager-text 0.196.19, the same error.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in update-manager (Ubuntu):
status: New → Confirmed
Revision history for this message
Norbert (nrbrtx) wrote :

Confirmed on artful (see this AskUbuntu post - https://askubuntu.com/q/1004868/66509)

$ sudo update-manager-text
[sudo] password for artful:
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'

tags: added: artful
tags: added: xenail
tags: added: xenial
removed: xenail
tags: added: trusty
Norbert (nrbrtx)
tags: added: bionic
summary: - update-manager-text crashes on 13.10
+ update-manager-text crashes on 13.10, 14.04 LTS, 16.04 LTS, 17.10 and
+ 18.04 LTS
Changed in update-manager (Ubuntu):
status: Confirmed → Triaged
importance: Undecided → High
Revision history for this message
Brian Murray (brian-murray) wrote : Re: update-manager-text crashes on 13.10, 14.04 LTS, 16.04 LTS, 17.10 and 18.04 LTS

It looks like update-manager-text was never updated to support the groups, update_groups and security_groups, models.

summary: - update-manager-text crashes on 13.10, 14.04 LTS, 16.04 LTS, 17.10 and
- 18.04 LTS
+ update-manager-text crashes in all supported releases
tags: added: rls-bb-incoming
Steve Langasek (vorlon)
summary: - update-manager-text crashes in all supported releases
+ drop update-manager-text package
Revision history for this message
Jasper Vogel (jasper42) wrote :

Please don't drop update-manager-text, but fix it instead. I would really like to use it for monitoring the update-state of our corporate Ubuntu-Clients. The reason is that I'd like to keep the phased-updates for stability reasons, but still be able to correctly monitor the update-state of the systems. Neither apt nor apt-get allow me to get a correct result for that situation. But update-manager-text could do that.

Revision history for this message
Norbert (nrbrtx) wrote : Re: update-manager-text crashes in all supported releases

+1 to Jasper Vogel comment.

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

summary: - drop update-manager-text package
+ update-manager-text crashes in all supported releases
Changed in update-manager (Ubuntu Bionic):
status: Triaged → Confirmed
Norbert (nrbrtx)
description: updated
summary: - update-manager-text crashes in all supported releases
+ [SRU] update-manager-text crashes in all supported releases
description: updated
description: updated
tags: added: id-5a8eef2bf11f7343bd364e31
Steve Langasek (vorlon)
tags: removed: rls-bb-incoming
Revision history for this message
Launchpad Janitor (janitor) wrote : Re: [SRU] update-manager-text crashes in all supported releases

This bug was fixed in the package update-manager - 1:18.04.5

---------------
update-manager (1:18.04.5) bionic; urgency=medium

  * Drop the update-manager-text package and code as it has been broken for a
    long time and it wasn't used by many people. (LP: #1385524)

 -- Brian Murray <email address hidden> Mon, 05 Mar 2018 16:41:24 -0800

Changed in update-manager (Ubuntu Bionic):
status: Confirmed → Fix Released
Norbert (nrbrtx)
summary: - [SRU] update-manager-text crashes in all supported releases
+ drop update-manager-text package
Revision history for this message
Philippe Coval (rzr) wrote :

What is the fallback option ?

This bug was linked on:
https://askubuntu.com/questions/1004868/update-manager-text-fails-with-error-attributeerror-updatelist-object-has-no

I was on:
VERSION="17.10 (Artful Aardvark)"

Revision history for this message
Philippe Coval (rzr) wrote :

Using
update-manager-text: version 1:18.04.11.10

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

Revision history for this message
Philippe Coval (rzr) wrote :

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.