obsolete_pkgs and foregin_pkgs can not be lists

Bug #1322363 reported by Brian Murray
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Fix Released
High
Brian Murray

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.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Brian Murray (brian-murray)
Changed in ubuntu-release-upgrader (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Colin Law (colin-law) wrote :

I hit this upgrading from 14.04 to Utopic. My system seems ok however. Should I re-install anyway?

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

This bug was fixed in the package ubuntu-release-upgrader - 1:14.10.4

---------------
ubuntu-release-upgrader (1:14.10.4) utopic; urgency=medium

  * DistUpgrade/DistUpgradeController.py:
    - modify where the sort of foreign and obsolete lists of packages
      occurs (LP: #1322363)
 -- Brian Murray <email address hidden> Thu, 22 May 2014 14:46:13 -0700

Changed in ubuntu-release-upgrader (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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