[Bug 2080204] Re: unable to upgrade to ubuntu 24.04 from ubuntu 22.04

LucMorizur 2080204 at bugs.launchpad.net
Sun Sep 22 09:32:37 UTC 2024


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
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2080204

Title:
  unable to upgrade to ubuntu 24.04 from ubuntu 22.04

Status in ubuntu-release-upgrader package in Ubuntu:
  Confirmed

Bug description:
  This was likely caused by: 
  * Unofficial software packages not provided by Ubuntu 
  Please use the tool 'ppa-purge' from the ppa-purge 
  package to remove software from a Launchpad PPA and 
  try the upgrade again.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: ubuntu-release-upgrader-core 1:22.04.19
  ProcVersionSignature: Ubuntu 6.8.0-40.40~22.04.3-generic 6.8.12
  Uname: Linux 6.8.0-40-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.6
  Architecture: amd64
  CasperMD5CheckResult: pass
  CrashDB: ubuntu
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Sep 10 14:48:35 2024
  InstallationDate: Installed on 2023-02-09 (578 days ago)
  InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to jammy on 2024-09-10 (0 days ago)

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




More information about the foundations-bugs mailing list