Installation error on 10.7 only: Install Failed: Error Domain=NSCocoaErrorDomain Code=4 "The file “Staging” doesn’t exist."
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=OybqxTUtipAN8TP8iKRwBcAiKwf+UGSfElS12jwcMTY=; b=nDCoHr9y/3IAEqdNNo9JnUp9bQOzY+4qVnemPH6oyVetDod3n/FpqJlYV7xeKMVdaO 7tJ9xbvt4W18ni6fOv833waBIWS4fRkOWdqBs15InORYNEJmI41sLS0Ent3prNEVOpC5 hfOUFT4Q3SK7g8yVrqdLd7pJvMJ8/8d2I1g4w= Hi All, I am currently stuck with a installation error and I was hoping that you guys would have some insight. The error is intermittent and seems to occur only in 10.7. Please advise. This is the error shown in the log: Nov 21 15:42:00 ip-172-18-1-92 installer[412]: PackageKit: Install Failed: Error Domain=NSCocoaErrorDomain Code=4 "The file “Staging” doesn’t exist." UserInfo=0x7f9f3598bd60 {NSFilePath=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/ChildSandbox.IIrTVX/Staging, NSUnderlyingError=0x7f9f3598bc70 "The operation couldn’t be completed. No such file or directory"} { NSFilePath = "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/ChildSandbox.IIrTVX/Staging"; NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\""; } Nov 21 15:42:00 ip-172-18-1-92 installer[412]: install:didFailWithError:Error Domain=NSCocoaErrorDomain Code=4 "The file “Staging” doesn’t exist." UserInfo=0x7f9f3598bd60 {NSFilePath=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/ChildSandbox.IIrTVX/Staging, NSUnderlyingError=0x7f9f3598bc70 "The operation couldn’t be completed. No such file or directory"} My installer is a meta package, but I don’t know if this is the conventional way of creating a metapackage using PackageMaker 3.0.4 My install source is a folder containing multiple .pkg of the other components. When it is deployed, the .pkg will copy all those components into a /tmp and then a postflight script will iterate through the component packages and call installer to install them one at a time. The log indicates that the failure is within the installation of the component themselves, but strangely, installing the ailed component on its own does not seem to fail. A couple of additional notes: - The failure is not isolated to any particular component .pkg. Seems to happen on any component randomly. - I have tested the installation of the component packages and I cannot reproduce the error when I install them directly. -- 2500+ iteration and no failure yet. -- For comparison, I can often reproduce the meta package installation failure within 10 iterations. - Tried the following and it didn’t help -- Rebuilding the meta package using the PackageMaker 3.0.5 shipped with Xcode 4 -- Performing Sync between component installations -- Performing sleep 5s between component installations (Yeah, I was getting desperate) Zoraw _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com
participants (1)
-
Henky Jatmiko Gunawan