[Bug 2141637] ProcCpuinfoMinimal.txt
thomas moore
2141637 at bugs.launchpad.net
Thu Feb 12 09:00:35 UTC 2026
apport information
** Attachment added: "ProcCpuinfoMinimal.txt"
https://bugs.launchpad.net/bugs/2141637/+attachment/5945560/+files/ProcCpuinfoMinimal.txt
--
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/2141637
Title:
ImportError: cannot import name 'inhibit_sleep' from
'DistUpgrade.utils' during 25.10 to 26.04 upgrade
Status in ubuntu-release-upgrader package in Ubuntu:
New
Bug description:
While attempting an upgrade to the Ubuntu 26.04 "Resolute Raccoon"
development branch using do-release-upgrade -d, the process fails
immediately after downloading the upgrader tarball due to a Python
ImportError.
Steps to reproduce:
Run sudo do-release-upgrade -d on an Ubuntu 25.10 system.
The upgrader downloads the "resolute" tarball to /tmp.
The process crashes before the UI initializes.
Expected Behavior:
The upgrader should initialize and begin the "Calculating Changes" phase.
Actual Behavior:
A Traceback occurs because DistUpgradeController.py attempts to import inhibit_sleep from DistUpgrade.utils, but that function is missing from the utils.py file in the current Resolute archive.
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-XXXXXX/resolute", line 8, in <module>
sys.exit(main())
File "/tmp/ubuntu-release-upgrader-XXXXXX/DistUpgrade/DistUpgradeMain.py", line 222, in main
from .DistUpgradeController import DistUpgradeController
File "/tmp/ubuntu-release-upgrader-XXXXXX/DistUpgrade/DistUpgradeController.py", line 43, in <module>
from .utils import (..., inhibit_sleep)
ImportError: cannot import name 'inhibit_sleep' from 'DistUpgrade.utils'
---
ProblemType: Bug
ApportVersion: 2.33.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
CrashDB: ubuntu
CrashReports:
640:1000:111:20172:2026-02-12 20:19:35.950762602 +1300:2026-02-12 20:19:35.945762602 +1300:/var/crash/_usr_share_kconf_update_migrate-calendar-to-plugin-id.py.1000.crash
640:0:111:47383:2026-02-12 20:49:12.870481253 +1300:2026-02-12 20:27:39.195764930 +1300:/var/crash/_usr_bin_do-release-upgrade.0.crash
CurrentDesktop: KDE
DistroRelease: Ubuntu 25.10
InstallationDate: Installed on 2026-02-12 (0 days ago)
InstallationMedia: Kubuntu 25.10 "Questing Quokka" - Release amd64 (20251007)
Package: ubuntu-release-upgrader (not installed)
ProcVersionSignature: Ubuntu 6.17.0-14.14-generic 6.17.9
Tags: questing wayland-session dist-upgrade
Uname: Linux 6.17.0-14-generic x86_64
UpgradeStatus: Upgraded to questing on 2026-02-12 (0 days ago)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo
VarLogDistupgradeAptlog:
Log time: 2026-02-12 20:49:03.059827
Log time: 2026-02-12 20:49:03.995369
_MarkForUpload: True
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2141637/+subscriptions
More information about the foundations-bugs
mailing list