[Bug 1965568] Re: missing dependency on python3-dbus
I have tested upgrade from Impish to Jammy using version 1:22.04.11 using the test plan above (and appending --proposed to do-release- upgrade), and I have verified this issue is fixed. ** Tags removed: verification-needed-jammy ** Tags added: verification-done-jammy -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1965568] Re: missing dependency on python3-dbus
Hello Zhang, or anyone else affected, Accepted ubuntu-release-upgrader into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ubuntu-release-upgrader/1:22.04.11 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed- jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification- failed-jammy. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Changed in: ubuntu-release-upgrader (Ubuntu Jammy) Status: Triaged => Fix Committed ** Tags added: verification-needed verification-needed-jammy -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1965568] Re: missing dependency on python3-dbus
** Merge proposal linked: https://code.launchpad.net/~enr0n/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/423465 -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1965568] Re: missing dependency on python3-dbus
This bug was fixed in the package ubuntu-release-upgrader - 1:22.10.2 --- ubuntu-release-upgrader (1:22.10.2) kinetic; urgency=medium * DistUpgrade: Gracefully handle missing dbus module (LP: #1965568). * Run pre-build.sh: updating mirrors, demotions, and translations. -- Nick Rosbrook Mon, 09 May 2022 12:16:49 -0400 ** Changed in: ubuntu-release-upgrader (Ubuntu Kinetic) Status: Triaged => Fix Released -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1965568] Re: missing dependency on python3-dbus
** 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 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 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1965568] Re: missing dependency on python3-dbus
** Merge proposal linked: https://code.launchpad.net/~enr0n/ubuntu-release-upgrader/+git/ubuntu-release-upgrader/+merge/421775 -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1965568] Re: missing dependency on python3-dbus
** Tags removed: rls-ff-incoming -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1965568] Re: missing dependency on python3-dbus
** Changed in: ubuntu-release-upgrader (Ubuntu) Assignee: (unassigned) => Nick Rosbrook (enr0n) ** Also affects: ubuntu-release-upgrader (Ubuntu Jammy) Importance: Undecided Status: New ** Also affects: ubuntu-release-upgrader (Ubuntu Kinetic) Importance: High Assignee: Nick Rosbrook (enr0n) Status: Confirmed ** Changed in: ubuntu-release-upgrader (Ubuntu Kinetic) Status: Confirmed => Triaged ** Changed in: ubuntu-release-upgrader (Ubuntu Jammy) Status: New => Triaged ** Changed in: ubuntu-release-upgrader (Ubuntu Jammy) Importance: Undecided => High ** Tags added: fr-2342 -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1965568] Re: missing dependency on python3-dbus
** Changed in: ubuntu-release-upgrader (Ubuntu) Importance: Undecided => High -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1965568] Re: missing dependency on python3-dbus
** Tags added: rls-ff-incoming -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1965568] Re: missing dependency on python3-dbus
I had this problem on a WSL 2 instance of 20.04 when attempting to upgrade to 22.04. I cured the problem by doing the following: apt reinstall python3-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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1965568] Re: missing dependency on python3-dbus
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: ubuntu-release-upgrader (Ubuntu) Status: New => Confirmed -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1965568] Re: missing dependency on python3-dbus
** Tags added: focal packaging -- 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 ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs