Apply update failed: Can't apply the current update (can't contact service)"

Bug #1260712 reported by Alan Pope 🍺🐧🐱 πŸ¦„
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu system image
Invalid
Undecided
Unassigned
system-image (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Just updated mako to #63 from some previous release (not entire sure what)
It downloaded the update and then when I hit the "Install & Restart" button I got this message:-

"Apply update failed: Can't apply the current update (can't contact service)"

But I couldn't take a screenshot because it immediately rebooted and started updating. Seems to have updated okay, but was alarmed to see this message.

alan@deep-thought:~/phablet/scripts$ adb shell system-image-cli -i
current build number: 63
device name: mako
channel: trusty-proposed
last update: 2013-12-13 12:08:43
version version: 63
version ubuntu: 20131213
version device: 20131211.2

attaching /var/log/system-image/client.log in case it helps

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: system-image-cli 2.0.3-0ubuntu1
Uname: Linux 3.4.0-3-mako armv7l
ApportVersion: 2.12.7-0ubuntu2
Architecture: armhf
Date: Fri Dec 13 12:13:28 2013
InstallationDate: Installed on 2013-12-13 (0 days ago)
InstallationMedia: Ubuntu Trusty Tahr (development branch) - armhf (20131213)
PackageArchitecture: all
ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
SourcePackage: system-image
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in system-image (Ubuntu):
status: New → Confirmed
Revision history for this message
Didier Roche-Tolomelli (didrocks) wrote :

From the frontend code, it means that ApplyUpdate() backend call doesn't send an answer anymore to the frontend with an empty string telling "ack".

Revision history for this message
Alan Pope 🍺🐧🐱 πŸ¦„ (popey) wrote :

Got it again going from #63 to #64

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package system-image - 2.0.3-0ubuntu2

---------------
system-image (2.0.3-0ubuntu2) trusty; urgency=low

  * Fix ApplyUpdate() to return an empty string as per spec if the update
    is successfull (LP: #1260712)
 -- Didier Roche <email address hidden> Fri, 13 Dec 2013 13:55:51 +0100

Changed in system-image (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Barry Warsaw (barry) wrote :

TL;DR you can ignore the error message - the device will still update just fine after a reboot.

In order to fix Bug #1217098, I made a change to the ApplyUpdate() D-Bus method, as described in Bug #1247215. This was communicated through the ubuntu-phone mailing list, but no human or automated check was in place to make sure system-settings was prepared for the change. That's a subject for a different discussion.

All it means though is that system-settings is not getting its expected empty return string after calling ApplyUpdate(), but in the predominately most common case, the device will successfully reboot and apply the changes, so any return value is mostly useless anyway (except for the user confusing error message). So, no functionality is broken, but we unfortunately do show this confusing message.

Revision history for this message
Barry Warsaw (barry) wrote :

I'm closing the upstream bug task, since bug #1260768 will track the proper long term fix.

Changed in ubuntu-system-image:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.