I have verified the fix using ubuntu-release-upgrader 1:24.10.14 from oracular-proposed:
ubuntu@ubuntu:~$ apt policy ubuntu-release-upgrader-qt ubuntu-release-upgrader-qt: Installed: 1:24.10.13 Candidate: 1:24.10.13 Version table: 1:24.10.14 100 100 http://us.archive.ubuntu.com/ubuntu oracular-proposed/universe amd64 Packages 100 http://us.archive.ubuntu.com/ubuntu oracular-proposed/universe i386 Packages *** 1:24.10.13 500 500 http://us.archive.ubuntu.com/ubuntu oracular/universe amd64 Packages 500 http://us.archive.ubuntu.com/ubuntu oracular/universe i386 Packages 100 /var/lib/dpkg/status ubuntu@ubuntu:~$ sudo apt install ubuntu-release-upgrader-qt -y -t oracular-proposed The following package was automatically installed and is no longer required: libkf5networkmanagerqt6 Use 'sudo apt autoremove' to remove it. Upgrading: python3-distupgrade ubuntu-release-upgrader-core ubuntu-release-upgrader-qt Installing dependencies: libqt6test6 python3-pyqt6 python3-pyqt6.qtquick pyqt6-dev-tools python3-pyqt6.qtqml python3-pyqt6.sip Summary: Upgrading: 3, Installing: 6, Removing: 0, Not Upgrading: 44 Download size: 3,663 kB Space needed: 21.1 MB / 21.5 GB available Get:1 http://us.archive.ubuntu.com/ubuntu oracular/universe amd64 python3-pyqt6.sip amd64 13.8.0-1 [54.5 kB] Get:2 http://us.archive.ubuntu.com/ubuntu oracular/universe amd64 libqt6test6 amd64 6.6.2+dfsg-12 [172 kB] Get:3 http://us.archive.ubuntu.com/ubuntu oracular/universe amd64 python3-pyqt6 amd64 6.7.1-1 [2,780 kB] Get:4 http://us.archive.ubuntu.com/ubuntu oracular/universe amd64 pyqt6-dev-tools all 6.7.1-1 [40.4 kB] Get:5 http://us.archive.ubuntu.com/ubuntu oracular/universe amd64 python3-pyqt6.qtqml amd64 6.7.1-1 [235 kB] Get:6 http://us.archive.ubuntu.com/ubuntu oracular/universe amd64 python3-pyqt6.qtquick amd64 6.7.1-1 [249 kB] Get:7 http://us.archive.ubuntu.com/ubuntu oracular-proposed/universe amd64 ubuntu-release-upgrader-qt all 1:24.10.14 [5,732 B] Get:8 http://us.archive.ubuntu.com/ubuntu oracular-proposed/main amd64 ubuntu-release-upgrader-core all 1:24.10.14 [26.5 kB] Get:9 http://us.archive.ubuntu.com/ubuntu oracular-proposed/main amd64 python3-distupgrade all 1:24.10.14 [100 kB] Fetched 3,663 kB in 0s (8,600 kB/s) Selecting previously unselected package python3-pyqt6.sip. (Reading database ... 254912 files and directories currently installed.) Preparing to unpack .../0-python3-pyqt6.sip_13.8.0-1_amd64.deb ... Unpacking python3-pyqt6.sip (13.8.0-1) ... Selecting previously unselected package libqt6test6:amd64. Preparing to unpack .../1-libqt6test6_6.6.2+dfsg-12_amd64.deb ... Unpacking libqt6test6:amd64 (6.6.2+dfsg-12) ... Selecting previously unselected package python3-pyqt6. Preparing to unpack .../2-python3-pyqt6_6.7.1-1_amd64.deb ... Unpacking python3-pyqt6 (6.7.1-1) ... Selecting previously unselected package pyqt6-dev-tools. Preparing to unpack .../3-pyqt6-dev-tools_6.7.1-1_all.deb ... Unpacking pyqt6-dev-tools (6.7.1-1) ... Selecting previously unselected package python3-pyqt6.qtqml. Preparing to unpack .../4-python3-pyqt6.qtqml_6.7.1-1_amd64.deb ... Unpacking python3-pyqt6.qtqml (6.7.1-1) ... Selecting previously unselected package python3-pyqt6.qtquick. Preparing to unpack .../5-python3-pyqt6.qtquick_6.7.1-1_amd64.deb ... Unpacking python3-pyqt6.qtquick (6.7.1-1) ... Preparing to unpack .../6-ubuntu-release-upgrader-qt_1%3a24.10.14_all.deb ... Unpacking ubuntu-release-upgrader-qt (1:24.10.14) over (1:24.10.13) ... Preparing to unpack .../7-ubuntu-release-upgrader-core_1%3a24.10.14_all.deb ... Unpacking ubuntu-release-upgrader-core (1:24.10.14) over (1:24.10.13) ... Preparing to unpack .../8-python3-distupgrade_1%3a24.10.14_all.deb ... Unpacking python3-distupgrade (1:24.10.14) over (1:24.10.13) ... Setting up libqt6test6:amd64 (6.6.2+dfsg-12) ... Setting up python3-distupgrade (1:24.10.14) ... Setting up ubuntu-release-upgrader-core (1:24.10.14) ... Setting up python3-pyqt6.sip (13.8.0-1) ... Setting up python3-pyqt6 (6.7.1-1) ... Setting up pyqt6-dev-tools (6.7.1-1) ... Setting up python3-pyqt6.qtqml (6.7.1-1) ... Setting up python3-pyqt6.qtquick (6.7.1-1) ... Setting up ubuntu-release-upgrader-qt (1:24.10.14) ... Processing triggers for man-db (2.12.1-3) ... Processing triggers for libc-bin (2.40-1ubuntu3.1) ... ubuntu@ubuntu:~$ do-release-upgrade -d -f DistUpgradeViewKDE ... At this point, the Qt6 GUI appeared correctly, and I was able to use the dialog to complete the upgrade normally. The upgrade finished without errors, and I successfully rebooted afterward. Please see the attached screenshot for a quick show of the upgrade dialog. ** Attachment added: "Upgrade dialog" https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2095535/+attachment/5871883/+files/sru-screenshot ** Tags removed: verification-needed verification-needed-oracular ** Tags added: verification-done verification-done-oracular -- You received this bug notification because you are a member of Ubuntu Studio Bugs, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/2095535 Title: [SRU/RC] ubuntu-release-upgrader Qt interface Qt6 incompatibility Status in ubuntu-release-upgrader package in Ubuntu: Fix Released Status in ubuntu-release-upgrader source package in Noble: Triaged Status in ubuntu-release-upgrader source package in Oracular: Fix Committed Status in ubuntu-release-upgrader source package in Plucky: Fix Released Bug description: [Impact] Qt-based flavors of Ubuntu are unable to upgrade to Plucky from Oracular or Noble due to the Plucky frontend being ported to PyQt6. When the port was originally done, the change author actually did test release upgrades, but failed to consider the fact that additional dependencies may need to be added. Additionally, the change author failed to commit a local change, resulting in failing upgrades to Plucky. The majority of the required changes will be in Plucky, which will need review from the Ubuntu Release Team due to freezes. The other two releases simply need PyQt6 runtime dependencies added. [Test Case] We just need to test that an upgrade using the KDE GUI frontend works on an appropriate flavor of Ubuntu. First, install ubuntu-release-upgrader-qt from $series-proposed: $ apt install -y ubuntu-release-upgrader-qt -t $series-proposed Then, run the upgrade, specifying the KDE frontend to be used: $ do-release-upgrade --devel --frontend DistUpgradeViewKDE The upgrade should complete without errors, and the GUI should be active and usable throughout the upgrade. [What could go wrong] While this change was thoroughly tested prior to uploading to Plucky, it is entirely possible that wider testing of the fixes will reveal further room for improvement. This falls under the criteria of a bug fix to a release still in development, and would also be acceptable to fix past Final Freeze if another problem were to emerge. When it comes to Oracular and Noble, adding runtime dependencies that would already be generally common on a Qt-based flavor anyway (when installing some extra packages) is *almost* a no-op. This being said, if we were to change the binary package names for pyqt6 in a stable release update, or if those packages become uninstallable or otherwise unusable, this change would regress. [Original Bug] This is likely an issue RE: Qt5 vs Qt6. I have reason to believe the code is still Qt5 but oracular and higher is Qt6, meaning the code needs to be refactored. Terminal output: $ do-release-upgrade -d -m desktop -f DistUpgradeViewKDE Checking for a new Ubuntu release localuser:root being added to access control list Checking for a new Ubuntu release kde error: XDG_RUNTIME_DIR is invalid or not set in the environment. Failed to create wl_display (No such file or directory) qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found. QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' /usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherCore.py:237: Warning: W:Download is performed unsandboxed as root as file 'plucky.tar.gz.gpg' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) result = fetcher.run() authenticate 'plucky.tar.gz' against 'plucky.tar.gz.gpg' extracting 'plucky.tar.gz' error: XDG_RUNTIME_DIR is invalid or not set in the environment. Failed to create wl_display (No such file or directory) qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found. can't load DistUpgradeViewKDE (type object 'QTextOption' has no attribute 'NoWrap') can't load DistUpgradeViewGtk3 (Namespace Vte not available) can't load DistUpgradeViewKDE (type object 'QTextOption' has no attribute 'NoWrap') Reading cache Checking package manager Reading package lists... Done Building dependency tree... Done Reading state information... Done Hit http://security.ubuntu.com/ubuntu oracular-security InRelease Hit http://us.archive.ubuntu.com/ubuntu oracular InRelease Hit http://us.archive.ubuntu.com/ubuntu oracular-updates InRelease Hit http://us.archive.ubuntu.com/ubuntu oracular-backports InRelease Fetched 0 B in 0s (0 B/s) Reading package lists... Done Building dependency tree... Done Reading state information... Done Fetched 0 B in 0s (0 B/s) Checking for installed snaps Calculating snap size requirements Updating repository information Segmentation fault (core dumped) ProblemType: Bug DistroRelease: Ubuntu 24.10 Package: ubuntu-release-upgrader-core 1:24.10.13 ProcVersionSignature: Ubuntu 6.11.0-13.14-generic 6.11.0 Uname: Linux 6.11.0-13-generic x86_64 ApportVersion: 2.30.0-0ubuntu4 Architecture: amd64 CasperMD5CheckResult: pass CrashDB: ubuntu CurrentDesktop: KDE Date: Wed Jan 22 11:15:22 2025 InstallationDate: Installed on 2024-04-11 (287 days ago) InstallationMedia: Ubuntu-Studio 24.04 LTS "Noble Numbat" - Beta amd64 (20240410.2) PackageArchitecture: all SourcePackage: ubuntu-release-upgrader Symptom: ubuntu-release-upgrader UpgradeStatus: Upgraded to oracular on 2025-01-22 (0 days ago) VarLogDistupgradeAptHistorylog: Start-Date: 2025-01-22 11:13:58 Requested-By: erich (1000) End-Date: 2025-01-22 11:13:58 VarLogDistupgradeAptlog: Log time: 2025-01-22 11:13:55.234080 Log time: 2025-01-22 11:13:57.748196 VarLogDistupgradeApttermlog: Log started: 2025-01-22 11:13:58 Log ended: 2025-01-22 11:13:58 VarLogDistupgradeTermlog: To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2095535/+subscriptions -- Mailing list: https://launchpad.net/~ubuntustudio-bugs Post to : ubuntustudio-bugs@lists.launchpad.net Unsubscribe : https://launchpad.net/~ubuntustudio-bugs More help : https://help.launchpad.net/ListHelp