UpgradeStatus can be incorrect
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apport (Ubuntu) |
Triaged
|
Medium
|
Unassigned | ||
Kinetic |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
In the general hook for ubuntu there is the following code:
log = '/var/log/
if os.path.
mtime = os.stat(
human_mtime = time.strftime(
delta = time.time() - mtime
# Would be nice if this also showed which release was originally installed
else:
This does no checking of main.log to see if the upgrade was actually successful, so if someone is reporting a bug about a failed upgrade of ubuntu-
tags: | added: rls-kk-incoming |
Changed in apport (Ubuntu): | |
status: | Confirmed → Triaged |
tags: | added: fr-2590 |
tags: | removed: rls-kk-incoming |
One thing to do might be to check main.log for "ERROR" and if that exists set 'UpgradeStatus' to unknown.