• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Installation error on 10.7 only: Install Failed: Error Domain=NSCocoaErrorDomain Code=4 "The file “Staging” doesn’t exist."
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Installation error on 10.7 only: Install Failed: Error Domain=NSCocoaErrorDomain Code=4 "The file “Staging” doesn’t exist."


  • Subject: Installation error on 10.7 only: Install Failed: Error Domain=NSCocoaErrorDomain Code=4 "The file “Staging” doesn’t exist."
  • From: Henky Jatmiko Gunawan <email@hidden>
  • Date: Wed, 23 Nov 2011 10:03:00 +0800

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

  • Follow-Ups:
    • 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>
  • Prev by Date: Re: Warn the user to close application before retry installing (or cancel)
  • Next by Date: RE: Installation error on 10.7 only: Install Failed: Error Domain=NSCocoaErrorDomain Code=4 "The file "Staging" doesn't exist."
  • Previous by thread: Owner and Group Settings
  • Next by thread: RE: Installation error on 10.7 only: Install Failed: Error Domain=NSCocoaErrorDomain Code=4 "The file "Staging" doesn't exist."
  • Index(es):
    • Date
    • Thread