Downloaded update is not detected
Bug #1392051 reported by
Pat McGowan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
High
|
Canonical Devices Products | ||
system-image (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned | ||
ubuntu-system-settings (Ubuntu) |
Fix Released
|
High
|
Ken VanDine | ||
ubuntu-system-settings (Ubuntu RTM) |
Fix Released
|
High
|
Ken VanDine |
Bug Description
Turn off auto download
Get an update notification
Go to updates page
Download the update
Leave the panel
Go back to install the update
Should see the install option, instead it shows the download option again
Select download and it returns quickly (detects it) and shows install
rtm proposed 158 both devices
Related branches
lp://staging/~ken-vandine/ubuntu-system-settings/lp1392051
- Mathieu Trudel-Lapierre (community): Approve
- PS Jenkins bot: Needs Fixing (continuous-integration)
-
Diff: 32 lines (+4/-0)2 files modifiedplugins/system-update/update_manager.cpp (+3/-0)
plugins/system-update/update_manager.h (+1/-0)
lp://staging/~ken-vandine/ubuntu-system-settings/rtm-lp1392051
- PS Jenkins bot: Approve (continuous-integration)
- Ubuntu Touch System Settings: Pending requested
-
Diff: 32 lines (+4/-0)2 files modifiedplugins/system-update/update_manager.cpp (+3/-0)
plugins/system-update/update_manager.h (+1/-0)
description: | updated |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Canonical Devices Products (canonical-devices-products-team) |
importance: | Undecided → High |
milestone: | none → r1 |
status: | New → Confirmed |
tags: | added: settings-ww51 |
Changed in ubuntu-system-settings (Ubuntu): | |
status: | New → In Progress |
Changed in system-image (Ubuntu): | |
status: | New → Won't Fix |
Changed in ubuntu-system-settings (Ubuntu RTM): | |
status: | New → Confirmed |
Changed in canonical-devices-system-image: | |
milestone: | ww51-2014 → ww03-2015 |
status: | Confirmed → Fix Released |
To post a comment you must log in.
The system-image-dbus API doesn't tell us if the update is already downloaded. With auto-download disabled, we get the follow from CheckForUpdates():
EMIT UpdateAvailable Status( True, False, 49, 62042448, 2014-12-09 14:00:25, '')
The second parameter there of False means not not currently downloading. The last parameter is a string error_reason, which tells why an update is not downloading. Perhaps for an update that is already downloaded, that error_reason could be 'downloaded'. In system-settings we could then match use that to display the proper action.