DistUpgradeApport.py causes an apport assertion error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ubuntu-release-upgrader (Ubuntu) |
Fix Released
|
Critical
|
Brian Murray | ||
Oneiric |
Invalid
|
Undecided
|
Unassigned | ||
Precise |
Invalid
|
Undecided
|
Unassigned | ||
Quantal |
Fix Released
|
Critical
|
Brian Murray | ||
update-manager (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Oneiric |
Invalid
|
High
|
Unassigned | ||
Precise |
Fix Released
|
High
|
Brian Murray | ||
Quantal |
Invalid
|
Undecided
|
Unassigned |
Bug Description
In the event that a distribution upgrade crashes apport_crash from DistUpgradeAppo
Traceback (most recent call last):
File "DistUpgrade/
apport_
File "DistUpgrade/
_apport_
File "DistUpgrade/
report[ident] = (open(f), )
File "/usr/lib/
assert k.replace('.', '').replace('-', '').replace('_', '').isalnum()
AssertionError
because '/' is not alpha numeric. Apport should probably replace '/' but u-r-u / update-manager previously attached these files with specific names, like VarLogDistUpgra
= Impact =
When update-manager / u-ru crashes we are not receiving the log files we want from apport and probably we aren't even receiving crash reports from it.
= Test Case =
A simple test case is to manually call DistUpgradeAppo
1) touch /var/crash/
2) sudo python /usr/lib/
With unfixed version of DistUpgradeAppo
description: | updated |
Changed in update-manager (Ubuntu Precise): | |
status: | Triaged → In Progress |
assignee: | nobody → Brian Murray (brian-murray) |
description: | updated |
This is fall out from bug 1004503 and bug 954483.