RE: Installation error on 10.7 only: Install Failed: Error Domain=NSCocoaErrorDomain Code=4 "The file "Staging" doesn't exist."
RE: Installation error on 10.7 only: Install Failed: Error Domain=NSCocoaErrorDomain Code=4 "The file "Staging" doesn't exist."
- Subject: RE: Installation error on 10.7 only: Install Failed: Error Domain=NSCocoaErrorDomain Code=4 "The file "Staging" doesn't exist."
- From: Prema Kumar <email@hidden>
- Date: Wed, 23 Nov 2011 02:24:32 -0800
- Acceptlanguage: en-US
- Thread-topic: Installation error on 10.7 only: Install Failed: Error Domain=NSCocoaErrorDomain Code=4 "The file "Staging" doesn't exist."
I am also facing this issue on 10.7. It is not consistent. Please help us on this.
Regards
Prem
-----Original Message-----
From: installer-dev-bounces+prema.kumar=email@hidden [mailto:installer-dev-bounces+prema.kumar=email@hidden] On Behalf Of Henky Jatmiko Gunawan
Sent: Wednesday, November 23, 2011 7:33 AM
To: email@hidden
Subject: Installation error on 10.7 only: Install Failed: Error Domain=NSCocoaErrorDomain Code=4 "The file "Staging" doesn't exist."
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
Confidentiality notice: This message may contain confidential information. It is intended only for the person to whom it is addressed. If you are not that person, you should not use this message. We request that you notify us by replying to this message, and then delete all copies including any contained in your reply. Thank you.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden