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 UpdateAvailableStatus(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.

** Also affects: system-image (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: ubuntu-system-settings (Ubuntu RTM)
   Importance: Undecided => High

** Changed in: ubuntu-system-settings (Ubuntu RTM)
     Assignee: (unassigned) => Ken VanDine (ken-vandine)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1392051

Title:
  Downloaded update is not detected

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1392051/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to