[Bug 1284217] Re: [updates] Displays a spinner indefinitely when an update download was started externally

Barry Warsaw 1284217 at bugs.launchpad.net
Tue Feb 25 15:39:52 UTC 2014


Okay, I think I see what you're getting at.  What you're observing is
that when auto-downloads are enabled, you will get the UAS signal first,
but the checking lock won't be released until after the download
completes, at which time you'll also get a Update{Downloaded,Failed}
signal.

I did it this way because I still observed download failures when the
checking lock was released during an automatic download.  Now, it's
possible that the other fixes I and Manuel implemented would make those
download failures go away (i.e. because of fixes to u-d-m, or
workarounds in s-i), but we'd have to be very careful to test that
vigorously before I'd be confident in releasing the check lock earlier.

I can think of a few other ways to handle this, short of mucking with
the lock release:

In the initial check that s-s performs, turn off automatic downloads.
Then you'll get the UAS signal and lock release as quickly as possible.
Then re-enable auto-downloads and issue the second CFU.  The actual
check should return quite quickly, since we can use the cached results
(we'll still have to grab the blacklist, but that shouldn't be much of a
delay).

Ah, I just thought of a possible middle ground: if CFU is called again
after the actual checking phase is complete, but before the auto-
download is complete, then we *do* have some available status and could
send the UAS signal at that point.

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

Title:
  [updates] Displays a spinner indefinitely when an update download was
  started externally

Status in Ubuntu system image (server/client/updater):
  New
Status in “system-image” package in Ubuntu:
  New
Status in “ubuntu-system-settings” package in Ubuntu:
  Triaged

Bug description:
  These packages are currently in the CI train PPA
  <https://launchpad.net/~ci-train-ppa-service/+archive/landing-010/>.
  Upgrade to these first.

  1. Make sure you're on auto download of updates (wi-fi) and that there's a system image update available to you
  2. Open system-settings
  3. Wait for "Updates available" to show, and click it
  4. "Checking for updates" and an activity indicator appear
  5. Wait. Don't let the screen blank (bug #1259326 - not sure this is actually still a problem but better safe than sorry). The update is downloading in the background at this point.
  6.  When the update has finished downloading, you'll see the standard popover inviting you to install or cancel.

  What should have happened is: instead of or shortly after step 4, we
  should have seen the status of the in-progress download, just as if
  we'd started it from the update panel.

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



More information about the foundations-bugs mailing list