OSX 10.9 “Mavericks” AppStore Issues

**Solution Found, see bottom of this post. **

Loving OSX 10.9 “Mavericks”.

Gone is the stupid skeumorphism!

I have an address book and calendar that are actually usable again.

Thank you, Jony Ive.

But I also find myself unable to update any application through the Mac App Store.

Receiving an error message, “Failed to verify the preflight file. It is not signed by Apple.

Since all apps distributed by Apple are digitally signed by Apple either their signing key has become revoked (unlikely) or something got corrupted on my system during the upgrade process.

I’ve tried deleting all folders with AppStore and StoreAgent out of my ~/Library/Application Support/ and ~/Library/Caches/, /Library/Application Support/, /Library/Caches/ …

I’ve tried deleting the AppStore Download Folder out of /private/var/folders/…/../../…/

I’ve tried resetting the AppStore app. I’ve tried clearing the cookies. Logging out of the AppStore. Logging back in.

Updating an app that I already purchased (AppStore says I have 17 updates waiting to download.)

Purchasing a brand new app (Disk Diag).

Failed to verify the preflight file. It is not signed by Apple.

The Console says there’s an Assertion failure:

2013-10-23 4:25:34.706 AM storeagent[426]: *** Assertion failure in -[ISCheckPreflightOperation verifyDistributionAtURL:allowsDevSign:allowsUnsigned:osVersionToBeInstalled:error:distributionController:], /SourceCache/Pisa/Pisa-232/ISCheckPreflightOperation.m:314

And of course, since this is Apple, and “their shit don’t stink,” attempting to find any useful answers on the Internet or Apple’s own web site is a lost cause.

So thanks, Apple.

Thanks for reminding how much of a piece of shit concept the AppStore is.

Now if only there was a way to update some apps outside of the AppStore.

App Store(549) deny file-write-unlink /private/var/folders/cw/92p2g2090298wr3rj6g4xzdh0000gq/C/com.apple.appstore
Process: App Store [549]
Path: /Applications/App Store.app/Contents/MacOS/App Store
Load Address: 0x107ef1000
Identifier: com.apple.appstore
Version: 201 (1.3)
Build Info: 61-Firenze~201000000000000
Code Type: x86_64 (Native)
Parent Process: launchd [248]
Date/Time: 2013-10-23 04:35:26.280 -0400
OS Version: Mac OS X 10.9 (13A603)
Report Version: 8
Thread 0:
0 libsystem_kernel.dylib 0x00007fff96cbcdb2 __unlink + 10
1 libremovefile.dylib 0x00007fff91d7273a __removefile_process_file + 178
2 libremovefile.dylib 0x00007fff91d728fd __removefile_tree_walker + 209
3 libremovefile.dylib 0x00007fff91d72bfb removefile + 147
4 Foundation 0x00007fff95880629 -[NSFilesystemItemRemoveOperation main] + 178
5 Foundation 0x00007fff95816591 -[__NSOperationInternal _start:] + 631
6 Foundation 0x00007fff95880484 -[NSFileManager removeItemAtPath:error:] + 84
7 StoreUI 0x0000000107f27819 -[FRDebugMenuController resetFirenze:] + 404
8 AppKit 0x00007fff939e53d0 -[NSApplication sendAction:to:from:] + 327
9 AppKit 0x00007fff93a00348 -[NSMenuItem _corePerformAction] + 394
10 AppKit 0x00007fff93a00084 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 117
11 AppKit 0x00007fff93a4f4dd -[NSMenu _internalPerformActionForItemAtIndex:] + 35
12 AppKit 0x00007fff93a4f359 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 104
13 AppKit 0x00007fff939f6176 NSSLMMenuEventHandler + 716
14 HIToolbox 0x00007fff988946d4 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 892
15 HIToolbox 0x00007fff98893c87 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 385
16 HIToolbox 0x00007fff988a7d90 SendEventToEventTarget + 40
17 HIToolbox 0x00007fff988dda30 SendHICommandEvent(unsigned int, HICommand const*, unsigned int, unsigned int, unsigned char, void const*, OpaqueEventTargetRef*, OpaqueEventTargetRef*, OpaqueEventRef**) + 420
18 HIToolbox 0x00007fff98910618 SendMenuCommandWithContextAndModifiers + 59
19 HIToolbox 0x00007fff989105c4 SendMenuItemSelectedEvent + 178
20 HIToolbox 0x00007fff989104a5 FinishMenuSelection(SelectionData*, MenuResult*, MenuResult*) + 94
21 HIToolbox 0x00007fff98918425 MenuSelectCore(MenuData*, Point, double, unsigned int, OpaqueMenuRef**, unsigned short*) + 718
22 HIToolbox 0x00007fff98918051 _HandleMenuSelection2 + 446
23 AppKit 0x00007fff9396879c _NSHandleCarbonMenuEvent + 284
24 AppKit 0x00007fff937c756e _DPSNextEvent + 2170
25 AppKit 0x00007fff937c68db -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 122
26 AppKit 0x00007fff937ba9cc -[NSApplication run] + 553
27 AppKit 0x00007fff937a5803 NSApplicationMain + 940
28 libdyld.dylib 0x00007fff932b25fd start + 1
Binary Images:
 0x107efc000 - 0x107f5eff7 com.apple.StoreUI (1.0 - 1) <6a5e3d64-ca48-39c8-b2f6-1ff915c7e1d1> /System/Library/PrivateFrameworks/StoreUI.framework/Versions/A/StoreUI
 0x7fff91d71000 - 0x7fff91d72ffb libremovefile.dylib (33) <3543f917-928e-3db2-a2f4-7ab73b4970ef> /usr/lib/system/libremovefile.dylib
 0x7fff932af000 - 0x7fff932b2ff7 libdyld.dylib (239.3) <62f4d752-4089-31a8-8b73-b95a68893b3c> /usr/lib/system/libdyld.dylib
 0x7fff937a3000 - 0x7fff94317ff7 com.apple.AppKit (6.9 - 1265) <0e9fc8bf-da3c-34c5-91cc-12bc922b5f01> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
 0x7fff9580e000 - 0x7fff95b0dfff com.apple.Foundation (6.9 - 1056) <d608edfd-9634-3573-9b7e-081c7d085f7a> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
 0x7fff96ca7000 - 0x7fff96cc3ff7 libsystem_kernel.dylib (2422.1.72) <d14913db-47f1-3591-8daf-d4b4ef5f8818> /usr/lib/system/libsystem_kernel.dylib
 0x7fff9888c000 - 0x7fff98b36ffd com.apple.HIToolbox (2.1) <c4de35ff-d0ac-35c3-a7e6-f54cd153825c> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox

**Update**

So it turns out the problem is Apple is having problems with their online OCSP & CRL servers for their certificates.

Turning off CRL & OCSP checking in the Certificates Preferences in Keychain Access solved the problem.

This really really sucks.

CRLs and OCSP are integral parts of PKI. Without them there’s no way for a relying party (you and I) to know if a certificate got compromised.

Fix your god damn PKI Apple!

 

The views and opinions expressed herein are my personal views, and do not reflect or represent the views of my employer. Nothing posted here should be construed otherwise.

Creative Commons License
OSX 10.9 “Mavericks” AppStore Issues by GEllenburg, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.

2 thoughts on “OSX 10.9 “Mavericks” AppStore Issues”

Comments are closed.