For upgrades from oracular -> plucky, I am not sure this is just about
missing dependencies.

On a fresh Kubuntu 24.10 installation, I initially ran this to confirm
the issue:

ubuntu@ubuntu:~$ 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'
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
/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'
can't load DistUpgradeViewKDE (No module named 'PyQt6')
can't load DistUpgradeViewGtk3 (Namespace Vte not available)
can't load DistUpgradeViewKDE (No module named 'PyQt6')

[ ... ]

So, the upgrade continues just fine, but not with the GUI frontend. So,
then I tried installing missing dependencies (which have been added for
plucky):

ubuntu@ubuntu:~$ cat log 
The following package was automatically installed and is no longer required:
  libkf5networkmanagerqt6
Use 'sudo apt autoremove' to remove it.

Installing:
  pyqt6-dev-tools  python3-pyqt6  python3-pyqt6.qtquick

Installing dependencies:
  libqt6test6  python3-pyqt6.qtqml  python3-pyqt6.sip

Summary:
  Upgrading: 0, Installing: 6, Removing: 0, Not Upgrading: 0
  Download size: 3,530 kB
  Space needed: 21.1 MB / 21.7 GB available

[ ... ]

Then, I try the upgrade again, and see these errors instead in the
terminal:

ubuntu@ubuntu:~$ 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'
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
/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.
error: XDG_RUNTIME_DIR is invalid or not set in the environment.
exitMainLoopMidFlight

On the GUI side of things, the main window never appears. I *do* get
intermittent pop-ups, e.g. asking if I want to continue, and informing
me about the screen lock being disabled. But, the *main* GUI window,
showing progress etc., never appears.

** Changed in: ubuntu-release-upgrader (Ubuntu Noble)
       Status: New => Incomplete

** Changed in: ubuntu-release-upgrader (Ubuntu Oracular)
       Status: In Progress => Incomplete

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

Reply via email to