[Bug 1965568] Update Released

Brian Murray 1965568 at bugs.launchpad.net
Mon Jun 6 22:59:56 UTC 2022


The verification of the Stable Release Update for ubuntu-release-
upgrader has completed successfully and the package is now being
released to -updates.  Subsequently, the Ubuntu Stable Release Updates
Team is being unsubscribed and will not receive messages about this bug
report.  In the event that you encounter a regression using the package
from -updates please report a new bug using ubuntu-bug and tag the bug
report regression-update so we can easily find any regressions.

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

Title:
  missing dependency on python3-dbus

Status in ubuntu-release-upgrader package in Ubuntu:
  Fix Released
Status in ubuntu-release-upgrader source package in Jammy:
  Fix Released
Status in ubuntu-release-upgrader source package in Kinetic:
  Fix Released

Bug description:
  [Impact]

  If a user does not have the python3-dbus package installed, the
  upgrade will fail trying to `import dbus`.

  [Test Plan]

  * On an Impish host, remove python3-dbus. Note that
  python3-distupgrade is NOT listed in the warning from dpkg.

    $ sudo dpkg -r --force-depends python3-dbus

  * Attempt an upgrade, and observe the "ModuleNotFoundError: No module
  named 'dbus'" exception.

    $ do-release-upgrade

  [Where problems could occur]

  The patch moves the `import dbus` statement to later in the code, so
  if another part of that source file needed the dbus module, exceptions
  would occur.

  [Original Description]

  When I try to execute `do-release-upgrade -d` on a 20.04 system, the
  following fatal error occured.

  Traceback (most recent call last):

  File "/tmp/ubuntu-release-upgrader-yqb1e837/jammy", line 8, in
  <module>
  sys.exit(main())

  File
  "/tmp/ubuntu-release-upgrader-yqb1e837/DistUpgrade/DistUpgradeMain.py",
  line 222, in main
  from .DistUpgradeController import DistUpgradeController

  File
  "/tmp/ubuntu-release-upgrader-yqb1e837/DistUpgrade/DistUpgradeController.py",
  line 25, in <module>
  import dbus

  ModuleNotFoundError: No module named 'dbus'

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




More information about the foundations-bugs mailing list