Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: apport (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apport in Ubuntu.
https://bugs.launchpad.net/bugs/1315559
Title:
UpgradeStatus can be incorrect
Status in apport package in Ubuntu:
Confirmed
Bug description:
In the general hook for ubuntu there is the following code:
log = '/var/log/dist-upgrade/main.log'
if os.path.exists(log):
mtime = os.stat(log).st_mtime
human_mtime = time.strftime('%Y-%m-%d', time.gmtime(mtime))
delta = time.time() - mtime
# Would be nice if this also showed which release was originally
installed
report['UpgradeStatus'] = 'Upgraded to %s on %s (%d days ago)' %
(release_codename, human_mtime, delta / 86400)
else:
report['UpgradeStatus'] = 'No upgrade log present (probably fresh
install)'
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-release-upgrader they'll have a confusing 'UpgradeStatus' of
today for the previous release.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1315559/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp