apport_excepthook called with incorrect number of arguments
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
Medium
|
Nick Rosbrook | ||
Noble |
Triaged
|
Medium
|
Nick Rosbrook |
Bug Description
When there was a failure to handle an upgrade, apport_crash() gets called to handle it and it calls apport_
Error in sys.excepthook:
Traceback (most recent call last):
File "/tmp/ubuntu-
apport_
File "/tmp/ubuntu-
apport_
TypeError: apport_excepthook() missing 1 required positional argument: 'exc_tb'
In my case, that was because I had Apt::Default-
This crash can also be seen in another, recent bug report:
https:/
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | New → Triaged |
Changed in ubuntu-release-upgrader (Ubuntu Noble): | |
status: | New → Triaged |
Changed in ubuntu-release-upgrader (Ubuntu): | |
importance: | Undecided → Medium |
Changed in ubuntu-release-upgrader (Ubuntu Noble): | |
importance: | Undecided → Medium |
Changed in ubuntu-release-upgrader (Ubuntu): | |
assignee: | nobody → Nick Rosbrook (enr0n) |
Changed in ubuntu-release-upgrader (Ubuntu Noble): | |
assignee: | nobody → Nick Rosbrook (enr0n) |
Changed in ubuntu-release-upgrader (Ubuntu): | |
status: | Triaged → Fix Committed |
This bug was fixed in the package ubuntu- release- upgrader - 1:25.04.6
--------------- release- upgrader (1:25.04.6) plucky; urgency=medium
ubuntu-
* all: replace remaining uses of lsb_release
* DistUpgrade: define From= as list of supported upgrade paths (LP: #2075969)
* DistUpgradeCache: remove remaining aufs logic
* DistUpgradeApport: fix call to apport_excepthook (LP: #2096824)
* Run pre-build.sh: updating mirrors and translations.
-- Nick Rosbrook <email address hidden> Thu, 06 Feb 2025 15:38:50 -0500