Issue 76872 in chromium: .keystone_install: dirpatcher of app directory failed, status 13

107 views
Skip to first unread message

chro...@googlecode.com

unread,
Mar 20, 2011, 6:37:16 PM3/20/11
to chromi...@chromium.org
Status: Untriaged
Owner: ----
CC: ma...@chromium.org, styfle...@gmail.com
Labels: Type-Bug Pri-2 Area-Internals Internals-Install

New issue 76872 by kr...@chromium.org: .keystone_install: dirpatcher of app
directory failed, status 13
http://code.google.com/p/chromium/issues/detail?id=76872

Chrome: 10.0.648.134

A users is unable to apply an update based on error code 13.

Here is the end of the log:

2011-03-20 14:52:12.075 GoogleSoftwareUpdateAgent[35906/0xb0185000] [lvl=2]
-[KSMultiUpdateAction performAction] filteredUpdates=(
{
DisplayVersion = "10.0.648.151";
kServerCodeHash = "q1VUGE3WZYLPSBPfBVkMEqU9qjU=";
kServerCodeSize = 1127913;
kServerCodebaseURL =
http://cache.pack.google.com/edgedl/chrome/mac/stable/GoogleChrome-10.0.648.134-10.0.648.151-Update.dmg;
kServerDisplayVersion = "10.0.648.151";
kServerProductID = "com.google.Chrome";
kTicket = <KSTicket:0x156ef0
productID=com.google.Chrome
version=10.0.648.134
xc=<KSPathExistenceChecker:0x130e00 path=/Applications/Google Chrome.app>
url=https://tools.google.com/service/update2
creationDate=2011-03-15 20:09:50 -0700
tagPath=/Applications/Google Chrome.app/Contents/Info.plist
tagKey=KSChannelID
brandPath=/Users/styfle/Library/Google/Google Chrome Brand.plist
brandKey=KSBrandID
> ;
needsadmin = false;
status = ok;
}
)
2011-03-20 14:52:12.082 GoogleSoftwareUpdateAgent[35906/0xb0185000] [lvl=2]
-[KSDownloadAction performAction] Short circuiting download of
http://cache.pack.google.com/edgedl/chrome/mac/stable/GoogleChrome-10.0.648.134-10.0.648.151-Update.dmg,
path=/Users/styfle/Library/Caches/com.google.UpdateEngine.Framework.501/Downloads/com.google.Chrome.dmg,
size=1127913, hash=q1VUGE3WZYLPSBPfBVkMEqU9qjU=
2011-03-20 14:52:28.625 GoogleSoftwareUpdateAgent[35906/0xb0185000] [lvl=3]
-[KSInstallAction performAction] stderr from install script
/tmp/UpdateEngine-mount.Ma2PlEbC5V/.keystone_install: goobspatch: old size
mismatch: 147653 != 220639

dirpatcher.sh: couldn't create /tmp/keystone_install.9Fl8FbLL/Google
Chrome.app/Contents/Resources/app.icns by applying
/tmp/UpdateEngine-mount.Ma2PlEbC5V/.patch/application.dirpatch/Contents/Resources/app.icns$gbs
to /Applications/Google Chrome.app/Contents/Resources/app.icns
.keystone_install: dirpatcher of app directory failed, status 13

Attached are the ksdiagnostics. Mark, can you explain better error 13?


Attachments:
KSDiagnostics-322350917.681211.zip 15.2 KB

chro...@googlecode.com

unread,
Mar 20, 2011, 8:22:14 PM3/20/11
to chromi...@chromium.org

Comment #1 on issue 76872 by ma...@chromium.org: .keystone_install:
dirpatcher of app directory failed, status 13
http://code.google.com/p/chromium/issues/detail?id=76872

Look a few lines up from “status 13.” The entire thing logged
by .keystone_install is

goobspatch: old size mismatch: 147653 != 220639
dirpatcher.sh: couldn't create /tmp/keystone_install.9Fl8FbLL/Google
Chrome.app/Contents/Resources/app.icns by applying
/tmp/UpdateEngine-mount.Ma2PlEbC5V/.patch/application.dirpatch/Contents/Resources/app.icns$gbs
to /Applications/Google Chrome.app/Contents/Resources/app.icns
.keystone_install: dirpatcher of app directory failed, status 13

In this installation, app.icns (the application icon) has been modified.

chro...@googlecode.com

unread,
Mar 20, 2011, 8:26:16 PM3/20/11
to chromi...@chromium.org

Comment #2 on issue 76872 by styfle...@gmail.com: .keystone_install:
dirpatcher of app directory failed, status 13
http://code.google.com/p/chromium/issues/detail?id=76872

Yes I changed the app icon. This is causing the error when updating?

chro...@googlecode.com

unread,
Mar 20, 2011, 9:02:53 PM3/20/11
to chromi...@chromium.org

Comment #3 on issue 76872 by ma...@chromium.org: .keystone_install:
dirpatcher of app directory failed, status 13
http://code.google.com/p/chromium/issues/detail?id=76872

Yes, it is. If you change any of the app’s contents, all bets are off. We
distribute updates as patches, and since we don’t know what the contents of
your app bundle are, we have no way to patch it.

chro...@googlecode.com

unread,
Mar 20, 2011, 9:11:02 PM3/20/11
to chromi...@chromium.org

Comment #4 on issue 76872 by styfle...@gmail.com: .keystone_install:
dirpatcher of app directory failed, status 13
http://code.google.com/p/chromium/issues/detail?id=76872

So the update doesn't download the entire app, but just patches the current
one? All I did was change the default Google Chrome icon to the Chromium
icon. I can't stand the yellow green and red icon.

chro...@googlecode.com

unread,
Mar 20, 2011, 9:27:12 PM3/20/11
to chromi...@chromium.org
Updates:
Status: Duplicate
Mergedinto: 54047

Comment #5 on issue 76872 by ma...@chromium.org: .keystone_install:
dirpatcher of app directory failed, status 13
http://code.google.com/p/chromium/issues/detail?id=76872

That’s correct.

In the linked bug, you’ll see that in the future, we’d like for the update
system to recover from this situation by downloading the full application.
The update system that we use currently doesn’t allow for this, though.

If you don’t do anything else, when we push out yet another version of the
application, you will get the full application (and not a patch) because at
that point you’ll be two versions behind, and we only publish patches to
update from the most recent version.

Regardless, your custom icon will be obliterated and replaced by the one in
the application itself each time an update is successfully applied.

Note that changing the contents of the application, including the icon, has
other effects in addition to causing problems for automatic updates. It
invalidates the application’s signature, which has an effect on Keystone
integration, and will most likely cause you to suffer through a barrage of
deny/allow/always allow prompts any time Chrome attempts to access a
password in your Keychain.

chro...@googlecode.com

unread,
Mar 20, 2011, 9:47:22 PM3/20/11
to chromi...@chromium.org

Comment #6 on issue 76872 by styfle...@gmail.com: .keystone_install:
dirpatcher of app directory failed, status 13
http://code.google.com/p/chromium/issues/detail?id=76872

Interesting. Ok well I restored the icon and the update worked. I am now
using version 10.0.648.151 of Google Chrome. I was hoping to just replace
the icon after each update but I guess I will stick with the default one
for now.

Reply all
Reply to author
Forward
0 new messages