Here are my rough comments from Matrix yesterday to explain why I'm updating the bug statuses as such:
The key here is, check out all those warnings about missing XDG environment variables. I can't speak to how GTK does this, but at least with Qt, to get proper theming and display manager interactions, you need to pass through environment variables as dictated by the session. It's outside the scope of this specific bug, but the dance depends on the flavor. Plasma-based flavors involve a combination of Wayland and KWin, Lubuntu uses a combination of Xorg and Openbox, but both use SDDM, and then both have their own individual setup scripts. Anyway, I can at least get it to start the process with a few GUI windows. [30 minutes later] Essentially, here's what I think is happening, and is probably a good working assumption for the time being... It's an inheritance issue. If you remove the line explicitly setting the parent, but replace it with a line just showing it, works just fine. See line 571 of DistUpgradeViewKDE.py I then ran into this at the very end: $ sudo -E ./plucky --frontend DistUpgradeViewKDE exitMainLoopMidFlight Upgrading: libc6-dev:amd64 < 2.40-1ubuntu3.1 | 2.41-6ubuntu1 @ii umH Ib > due to libc6-dev:amd64 Depends on libc6:amd64 < 2.40-1ubuntu3.1 -> 2.41-6ubuntu1 @ii umU Ib > (= 2.40-1ubuntu3.1) Upgrading: libc-dev-bin:amd64 < 2.40-1ubuntu3.1 | 2.41-6ubuntu1 @ii umH Ib > due to libc-dev-bin:amd64 Depends on libc6:amd64 < 2.40-1ubuntu3.1 -> 2.41-6ubuntu1 @ii umU Ib > (< 2.41) Upgrading: libc-bin:amd64 < 2.40-1ubuntu3.1 | 2.41-6ubuntu1 @ii umH Ib > due to libc-bin:amd64 Depends on libc6:amd64 < 2.40-1ubuntu3.1 -> 2.41-6ubuntu1 @ii umU Ib > (< 2.41) MarkInstall libc6:amd64 < 2.40-1ubuntu3.1 -> 2.41-6ubuntu1 @ii umU Ib > FU=1 Upgrading locales:amd64 < 2.40-1ubuntu3.1 | 2.41-6ubuntu1 @ii umH > due to libc6:amd64 Upgrading libc6-dev:amd64 < 2.40-1ubuntu3.1 | 2.41-6ubuntu1 @ii umH Ib > due to libc6:amd64 Upgrading libc-dev-bin:amd64 < 2.40-1ubuntu3.1 | 2.41-6ubuntu1 @ii umH Ib > due to libc6:amd64 Upgrading libc-bin:amd64 < 2.40-1ubuntu3.1 | 2.41-6ubuntu1 @ii umH Ib > due to libc6:amd64 2025-04-02T01:25:17-05:00 INFO Waiting for automatic snapd restart... 2025-04-02T01:25:18-05:00 INFO Waiting for automatic snapd restart... 2025-04-02T01:25:19-05:00 INFO Waiting for automatic snapd restart... gtk-common-themes 0.1-81-g442e511 from Canonical✓ refreshed snapd 2.67.1 from Canonical✓ refreshed core22 20250210 from Canonical✓ refreshed firefox 137.0-2 from Mozilla✓ refreshed firmware-updater 0+git.22198be from Canonical✓ refreshed gnome-42-2204 0+git.38ea591 from Canonical✓ refreshed Traceback (most recent call last): File "/tmp/ubuntu-release-upgrader-sk_u_va9/./plucky", line 8, in <module> sys.exit(main()) ^^^^^^ File "/tmp/ubuntu-release-upgrader-sk_u_va9/DistUpgrade/DistUpgradeMain.py", line 235, in main if app.run(): ^^^^^^^^^ File "/tmp/ubuntu-release-upgrader-sk_u_va9/DistUpgrade/DistUpgradeController.py", line 1962, in run return self.fullUpgrade() ^^^^^^^^^^^^^^^^^^ File "/tmp/ubuntu-release-upgrader-sk_u_va9/DistUpgrade/DistUpgradeController.py", line 1955, in fullUpgrade elif self._view.confirmRestart(): ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/ubuntu-release-upgrader-sk_u_va9/DistUpgrade/DistUpgradeViewKDE.py", line 869, in confirmRestart messageBox = QMessageBox(QMessageBox.question, _("Restart required"), _("<b><big>Restart the system to complete the upgrade</big></b>"), QMessageBox.StandardButton.NoButton, self.window_main) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: arguments did not match any overloaded call: QMessageBox(parent: Optional[QWidget] = None): argument 1 has unexpected type 'builtin_function_or_method' QMessageBox(icon: QMessageBox.Icon, title: Optional[str], text: Optional[str], buttons: QMessageBox.StandardButton = QMessageBox.NoButton, parent: Optional[QWidget] = None, flags: Qt.WindowType = Qt.Dialog|Qt.MSWindowsFixedSizeDialogHint): argument 1 has unexpected type 'builtin_function_or_method' Error in sys.excepthook: Traceback (most recent call last): File "/tmp/ubuntu-release-upgrader-sk_u_va9/DistUpgrade/DistUpgradeViewKDE.py", line 662, in _handleException apport_crash(exctype, excvalue, exctb) File "/tmp/ubuntu-release-upgrader-sk_u_va9/DistUpgrade/DistUpgradeApport.py", line 55, in apport_crash apport_excepthook('/usr/bin/do-release-upgrade', type, value, tb) File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 109, in apport_excepthook if exc_obj.errno is not None: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/apport/report.py", line 785, in add_proc_info raise ValueError(f"{self['ExecutablePath']} does not exist") ValueError: /usr/bin/python3.12 (deleted) does not exist Original exception was: Traceback (most recent call last): File "/tmp/ubuntu-release-upgrader-sk_u_va9/./plucky", line 8, in <module> sys.exit(main()) ^^^^^^ File "/tmp/ubuntu-release-upgrader-sk_u_va9/DistUpgrade/DistUpgradeMain.py", line 235, in main if app.run(): ^^^^^^^^^ File "/tmp/ubuntu-release-upgrader-sk_u_va9/DistUpgrade/DistUpgradeController.py", line 1962, in run return self.fullUpgrade() ^^^^^^^^^^^^^^^^^^ File "/tmp/ubuntu-release-upgrader-sk_u_va9/DistUpgrade/DistUpgradeController.py", line 1955, in fullUpgrade elif self._view.confirmRestart(): ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/ubuntu-release-upgrader-sk_u_va9/DistUpgrade/DistUpgradeViewKDE.py", line 869, in confirmRestart messageBox = QMessageBox(QMessageBox.question, _("Restart required"), _("<b><big>Restart the system to complete the upgrade</big></b>"), QMessageBox.StandardButton.NoButton, self.window_main) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: arguments did not match any overloaded call: QMessageBox(parent: Optional[QWidget] = None): argument 1 has unexpected type 'builtin_function_or_method' QMessageBox(icon: QMessageBox.Icon, title: Optional[str], text: Optional[str], buttons: QMessageBox.StandardButton = QMessageBox.NoButton, parent: Optional[QWidget] = None, flags: Qt.WindowType = Qt.Dialog|Qt.MSWindowsFixedSizeDialogHint): argument 1 has unexpected type 'builtin_function_or_method' ** No longer affects: update-manager-core (Ubuntu) ** No longer affects: update-manager-core (Ubuntu Noble) ** No longer affects: update-manager-core (Ubuntu Oracular) ** No longer affects: update-manager-core (Ubuntu Plucky) ** Changed in: ubuntu-release-upgrader (Ubuntu Noble) Status: Incomplete => Triaged ** Changed in: ubuntu-release-upgrader (Ubuntu Oracular) Status: Incomplete => Triaged ** Changed in: ubuntu-release-upgrader (Ubuntu Plucky) Status: Fix Released => Confirmed ** Changed in: ubuntu-release-upgrader (Ubuntu Plucky) Status: Confirmed => In Progress ** Changed in: ubuntu-release-upgrader (Ubuntu Noble) Importance: Undecided => Critical ** Changed in: ubuntu-release-upgrader (Ubuntu Plucky) Assignee: (unassigned) => Simon Quigley (tsimonq2) ** Changed in: ubuntu-release-upgrader (Ubuntu Noble) Assignee: (unassigned) => Simon Quigley (tsimonq2) ** Changed in: ubuntu-release-upgrader (Ubuntu Oracular) Assignee: (unassigned) => Simon Quigley (tsimonq2) ** Changed in: ubuntu-release-upgrader (Ubuntu Oracular) Importance: Undecided => Critical ** Changed in: ubuntu-release-upgrader (Ubuntu Plucky) Importance: Undecided => Critical -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2095535 Title: ubuntu-release-upgrader Qt interface Qt6 incompatibility To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2095535/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs