[Bug 1322363] [NEW] obsolete_pkgs and foregin_pkgs can not be lists

Brian Murray brian at ubuntu.com
Thu May 22 21:41:54 UTC 2014


Public bug reported:

The error tracker has a crash
(https://errors.ubuntu.com/problem/9b006966434c4db556a21641f728a6ef31553a9f)
with the following traceback.

Traceback (most recent call last):
  File "/usr/lib/ubuntu-release-upgrader/do-partial-upgrade", line 105, in <module>
    controller.doPartialUpgrade()
  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeController.py", line 1846, in doPartialUpgrade
    if not self.doPostUpgrade():
  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeController.py", line 1249, in doPostUpgrade
    remove_candidates = now_obsolete - self.obsolete_pkgs
TypeError: unsupported operand type(s) for -: 'set' and 'list'

This was introduced in r2804 by myself.

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: High
     Assignee: Brian Murray (brian-murray)
         Status: In Progress

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: New => In Progress

** Changed in: ubuntu-release-upgrader (Ubuntu)
   Importance: Undecided => High

** Changed in: ubuntu-release-upgrader (Ubuntu)
     Assignee: (unassigned) => Brian Murray (brian-murray)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1322363

Title:
  obsolete_pkgs and foregin_pkgs can not be lists

Status in “ubuntu-release-upgrader” package in Ubuntu:
  In Progress

Bug description:
  The error tracker has a crash
  (https://errors.ubuntu.com/problem/9b006966434c4db556a21641f728a6ef31553a9f)
  with the following traceback.

  Traceback (most recent call last):
    File "/usr/lib/ubuntu-release-upgrader/do-partial-upgrade", line 105, in <module>
      controller.doPartialUpgrade()
    File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeController.py", line 1846, in doPartialUpgrade
      if not self.doPostUpgrade():
    File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeController.py", line 1249, in doPostUpgrade
      remove_candidates = now_obsolete - self.obsolete_pkgs
  TypeError: unsupported operand type(s) for -: 'set' and 'list'

  This was introduced in r2804 by myself.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1322363/+subscriptions



More information about the foundations-bugs mailing list