This function was removed in a recent update-manager upload:
update-manager (1:26.04.3) resolute; urgency=medium
* Do not inhibit shutdown or sleep. Apt already inhibits shutdown.
The argument of whether a sleep operation is to be inhibited during package
installation belongs likewise to Apt. (lp: #2133012).
-- Nathan Pratta Teodosio <[email protected]> Tue, 10 Feb
2026 17:16:37 +0100
** Also affects: update-manager (Ubuntu)
Importance: Undecided
Status: New
** Changed in: update-manager (Ubuntu)
Status: New => Confirmed
** Changed in: update-manager (Ubuntu)
Importance: Undecided => Medium
** Changed in: update-manager (Ubuntu)
Importance: Medium => High
** Changed in: update-manager (Ubuntu)
Assignee: (unassigned) => Nathan Teodosio (nteodosio)
** Changed in: update-manager (Ubuntu)
Milestone: None => ubuntu-26.04
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2141637
Title:
ImportError: cannot import name 'inhibit_sleep' from
'DistUpgrade.utils' during 25.10 to 26.04 upgrade
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2141637/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs