Hi;

I'm having the an issue when trying to release upgrade from 22.04 LTS to
24.04 LTS.

I'm currently running Ubuntu Studio 22.04.5 LTS (Linux
6.8.0-45-lowlatency #45.1~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Sep 6,
X.Org 1.21.1.4, KDE 5.92.0, plasmashell 5.24.7, Qt 5.15.3). When I
launch the release upgrade (which I'm notified about), it ends popping
up a dialog window saying (Google translation from French):

Unable to evaluate upgrade

An unresolvable problem occurred while calculating the upgrade. This
was probably caused by: * unofficial software packages that
did not come from Ubuntu. Please use the "ppa-purge" command from
the "ppa-purge" package to remove packages from a Launchpad PPA repository,
then try to run the upgrade again. If none of these apply,
report this bug using the "ubuntu-bug" ubuntu-release-upgrader-core command in 
a terminal. If
you want to analyze the problem yourself, the log files in
the "/var/log/dist-upgrade" directory contain information about the
upgrade. Specifically, please see the "main.log" and "apt.log" logs.

Something I noticed, is that when I try to launch the release upgrade
from a terminal :

$ do-release-upgrade -m desktop -f DistUpgradeViewKDE --allow-third-
party

some Python error messages are shown, 9 times:

Recherche d'une nouvelle version d'Ubuntu
Recherche d'une nouvelle version d'Ubuntu
kde
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
Error in function pulse
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherKDE.py", 
line 216, in pulse
    self.dialog.installationProgress.setValue(
TypeError: setValue(self, int): argument 1 has unexpected type 'float'
Error in function pulse
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherKDE.py", 
line 216, in pulse
    self.dialog.installationProgress.setValue(
TypeError: setValue(self, int): argument 1 has unexpected type 'float'
Error in function pulse
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherKDE.py", 
line 216, in pulse
    self.dialog.installationProgress.setValue(
TypeError: setValue(self, int): argument 1 has unexpected type 'float'
Error in function pulse
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherKDE.py", 
line 216, in pulse
    self.dialog.installationProgress.setValue(
TypeError: setValue(self, int): argument 1 has unexpected type 'float'
Error in function pulse
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherKDE.py", 
line 216, in pulse
    self.dialog.installationProgress.setValue(
TypeError: setValue(self, int): argument 1 has unexpected type 'float'
Error in function pulse
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherKDE.py", 
line 216, in pulse
    self.dialog.installationProgress.setValue(
TypeError: setValue(self, int): argument 1 has unexpected type 'float'
Error in function pulse
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherKDE.py", 
line 216, in pulse
    self.dialog.installationProgress.setValue(
TypeError: setValue(self, int): argument 1 has unexpected type 'float'
Error in function pulse
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherKDE.py", 
line 216, in pulse
    self.dialog.installationProgress.setValue(
TypeError: setValue(self, int): argument 1 has unexpected type 'float'
Error in function pulse
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/DistUpgrade/DistUpgradeFetcherKDE.py", 
line 216, in pulse
    self.dialog.installationProgress.setValue(
TypeError: setValue(self, int): argument 1 has unexpected type 'float'
authentification de « noble.tar.gz » avec « noble.tar.gz.gpg »
extraction de 'noble.tar.gz'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
exitMainLoopMidFlight

So I ended up on another thread in bugs.launchpad.net (
https://answers.launchpad.net/ubuntu/+source/ubuntu-release-
upgrader/+question/702823 ), proposing to purge libpython3.10-stdlib .
But in my case, purging this package would mean remove a hundred other
packages. Checking that with

apt --simulate purge libpython3.10-stdlib

returns more than 500 lines of operation; the list of packages that
would be removed gives the feeling that around ALL the packages of the
system would be removed... Thus of course I did not try. With Synaptic I
saw that several 3.11 Python packages could be installed. I tried that,
rebooted my system, but the simulation did not change.

I also have to precise that on my system, package libpython3.10-stdlib
does not come from a PPA, it looks like it is installed from official
Ubuntu depots. At least, I have no active PPA « deadsnakes ».

While waiting for a kind advice, I will try to find a fix for this
unexpected type 'float' bug in setValue procedure in
DistUpgradeFetcherKDE.py...

Many thanks for having read my message.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2080204

Title:
  unable to upgrade to ubuntu 24.04 from ubuntu 22.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2080204/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to