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

Iain Lane iain at orangesquash.org.uk
Tue Feb 25 11:01:45 UTC 2014


I just did some debugging, and I now believe this is a problem in
system-image-dbus.

The u-s-s main screen component and panel both call CheckForUpdate on
s-i's D-Bus interface. This is supposed (per
https://wiki.ubuntu.com/ImageBasedUpgrades/Client#Methods --- "In all
cases, an UpdateAvailableStatus signal will be issued once an update
candidate is determined to be available") to result in an
UpdateAvailableStatus being issued. It's this signal that the UI relies
on to update itself in order to indicate that an update in progress.

For the second call (once you enter the updates screen), this signal is
never actually emitted. On the console the following is printed

  [systemimage] Feb 25 10:17:40 2014 (8412) test and acquire checking lock
  [systemimage] Feb 25 10:17:40 2014 (8412) checking lock not acquired

In testing mode (--testing=update-auto-success), this does work
properly.

Now, it's possible that system-settings could pass the same
updateManager model from the entry (main screen) component into the page
so that we don't need to repeat the check and therefore can avoid the
problem, but this seems to me to also be a s-i bug too.

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

** Also affects: ubuntu-system-image
   Importance: Undecided
       Status: New

** Changed in: ubuntu-system-settings (Ubuntu)
     Assignee: Diego Sarmentero (diegosarmentero) => Iain Lane (laney)

-- 
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