[Bug 2076913] Re: 'DistUpgradeController' object has no attribute 'force_obsoletes'

Tobias Heider 2076913 at bugs.launchpad.net
Tue Aug 13 13:56:13 UTC 2024


MR with fix: https://code.launchpad.net/~tobhe/ubuntu-release-
upgrader/+git/ubuntu-release-upgrader/+merge/471154

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

Title:
  'DistUpgradeController' object has no attribute 'force_obsoletes'

Status in ubuntu-release-upgrader package in Ubuntu:
  Confirmed

Bug description:
  It looks like the latest SRU has introduced a bug in
  https://git.launchpad.net/ubuntu-release-
  upgrader/commit/?id=8c592abdf5047a6bd4da20dab1e444c6dcf8c842

  There is a typo in s/force_obosoletes/forced_obsoletes/ which causes upgrades from noble to oracular to
  fail:

    File "/tmp/ubuntu-release-upgrader-l77uthwp/DistUpgrade/DistUpgradeController.py", line 1578, in doPostUpgrade
      if pkgname in self.foreign_pkgs and pkgname in self.force_obsoletes:
                                                     ^^^^^^^^^^^^^^^^^^^^
  AttributeError: 'DistUpgradeController' object has no attribute 'force_obsoletes'. Did you mean: 'forced_obsoletes'?

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




More information about the foundations-bugs mailing list