← Back to team overview

touch-packages team mailing list archive

[Bug 1392051] Re: Downloaded update is not detected

 

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
Touch seeded packages, which is subscribed to system-image in Ubuntu.
https://bugs.launchpad.net/bugs/1392051

Title:
  Downloaded update is not detected

Status in the base for Ubuntu mobile products:
  Confirmed
Status in system-image package in Ubuntu:
  New
Status in ubuntu-system-settings package in Ubuntu:
  New
Status in ubuntu-system-settings package in Ubuntu RTM:
  New

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

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