** Description changed: + [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'
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1965568 Title: missing dependency on python3-dbus To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1965568/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
