Xcode 4.0.2 install failed with error: "An error occurred while extracting files from the package “DeveloperTools.pkg”

hi,


I purchased Xcode 4.0.2 from AppStore and tried to install it, but a failure occured on install process.

I'm using Mac OS X 10.6.7 (10J4138), MacBook Pro (15-inch early 2011).


User uploaded file


There's message in /var/log/install.log.

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: location = file://localhost

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/D eveloperTools.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/S ystemScript.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/O penGLApps.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/D evToolsDocumentation.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/g cc4.2.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/g cc4.2ADCDocs.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/c lang.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/l lvm-gcc4.2.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/M acOSX10.6.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/D ashcode.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/D evSamples.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/D eveloperToolsCLI.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/D evDocumentation.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/O therDevDocumentation.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/X 11Documentation.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/X codeTools.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/R elocatableScript.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/i PhoneSDK4_0.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/i PhoneSDK4_1.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/i PhoneSDK4_2.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/i PhoneSDK4_3.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/i PhoneSDKTools.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/i PhoneSimulatorSDK4_0.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/i PhoneSimulatorSDK4_1.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/i PhoneSimulatorSDK4_2.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/i PhoneSimulatorSDK4_3.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/i PhoneSimulatorSDKTools.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/i PhoneHostSideTools.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/i PhoneDocumentation.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/D eveloperDiskImage4_3.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/D eveloperDiskImageReleased.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/i PhoneSDKSnowLeopardExtras.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/A pplicationLoader.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/i PhoneSDK3_2.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/i PhoneSimulatorSDK3_2.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/i PhoneSDK3_1_3.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/i PhoneSDK3_1_2.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/i PhoneSDK3_1.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/i PhoneSDK3_0.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/X codeiPhonePlugins.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/i PhoneSystemComponents.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/M obileDevice.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/V ersionedDeveloperToolsSystemSupport.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/D istributedBuildsSupport.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/X code_System_Tools_MacOSX10.6_Extras.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/G it.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/D eveloperToolsSystemSupport.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/X code_MacOSX10.6_Extras.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/I nstallerTools.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/D evSDK.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/X 11SDK.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/Q uickTimeSDK.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/O penGLSDK.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/W ebKitSDK.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/F ireWireSDK.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/B luetoothSDK.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/C oreAudioSDK.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/J avaSDK.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/g cc4.2.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/c lang.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/l lvm-gcc4.2.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/X 11Documentation.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/D eveloperToolsCLI.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/x crun.pkg

Jun 7 03:17:31 jeraziah installer[755]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/D ocDownloadOn.pkg

Jun 7 03:17:31 jeraziah runner[769]: Administrator authorization granted.

Jun 7 03:17:31 jeraziah installer[755]: Will use PK session

Jun 7 03:17:31 jeraziah installer[755]: Starting installation:

Jun 7 03:17:31 jeraziah installer[755]: Configuring volume "Mac OSX"

Jun 7 03:17:31 jeraziah installer[755]: Preparing disk for local booted install.

Jun 7 03:17:31 jeraziah installer[755]: Free space on "Mac OSX": 104.3 GB (104297746432 bytes).

Jun 7 03:17:31 jeraziah installer[755]: Create temporary directory "/var/folders/zz/zzzivhrRnAmviuee+++++++++++/-Tmp-//Install.755VXG7iF"

Jun 7 03:17:31 jeraziah installer[755]: IFPKInstallElement (40 packages)

Jun 7 03:17:31 jeraziah installer[755]: PackageKit: ----- Begin install -----

Jun 7 03:17:31 jeraziah installer[755]: PackageKit: request=PKInstallRequest <40 packages, destination=/Developer>

Jun 7 03:17:31 jeraziah installer[755]: PackageKit: packages=(\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ DeveloperTools.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ SystemScript.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ OpenGLApps.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ DevToolsDocumentation.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ gcc4.2.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ gcc4.2ADCDocs.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ clang.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ llvm-gcc4.2.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ MacOSX10.6.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ Dashcode.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ DevSamples.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ DeveloperToolsCLI.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ DevDocumentation.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ OtherDevDocumentation.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ X11Documentation.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ XcodeTools.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ RelocatableScript.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ iPhoneSDK4_0.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ iPhoneSDK4_1.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ iPhoneSDK4_2.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ iPhoneSDK4_3.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ iPhoneSDKTools.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ iPhoneSimulatorSDK4_0.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ iPhoneSimulatorSDK4_1.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ iPhoneSimulatorSDK4_2.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ iPhoneSimulatorSDK4_3.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ iPhoneSimulatorSDKTools.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ iPhoneHostSideTools.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ iPhoneDocumentation.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ DeveloperDiskImage4_3.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ DeveloperDiskImageReleased.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ iPhoneSDKSnowLeopardExtras.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ ApplicationLoader.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ iPhoneSDK3_2.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ iPhoneSimulatorSDK3_2.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ iPhoneSDK3_1_3.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ iPhoneSDK3_1_2.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ iPhoneSDK3_1.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ iPhoneSDK3_0.pkg>",\n "PKLeopardPackage <file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ XcodeiPhonePlugins.pkg>"\n)

Jun 7 03:17:35 jeraziah installer[755]: PackageKit: Install Failed: PKG: extracting "com.apple.pkg.DeveloperToolsLeo"\nError Domain=PKInstallErrorDomain Code=110 UserInfo=0x10599fe00 "An error occurred while extracting files from the package “DeveloperTools.pkg”." Underlying Error=(Error Domain=NSCocoaErrorDomain Code=259 "The file couldn’t be opened because it isn’t in the correct format.") {\n NSFilePath = "/var/folders/zz/zzzivhrRnAmviuee+++++++++++/Cleanup At Startup/PKInstallSandbox-tmp/Root";\n NSLocalizedDescription = "An error occurred while extracting files from the package \U201cDeveloperTools.pkg\U201d.";\n NSURL = "../Packages/DeveloperTools.pkg -- file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Xcode%20an d%20iOS%20SDK.mpkg/";\n NSUnderlyingError = "Error Domain=NSCocoaErrorDomain Code=259 \"The file couldn\U2019t be opened because it isn\U2019t in the correct format.\"";\n PKInstallPackageIdentifier = "com.apple.pkg.DeveloperToolsLeo";\n}

Jun 7 03:17:35 jeraziah installer[755]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=110 UserInfo=0x10599fe00 "An error occurred while extracting files from the package “DeveloperTools.pkg”." Underlying Error=(Error Domain=NSCocoaErrorDomain Code=259 "The file couldn’t be opened because it isn’t in the correct format.")

Jun 7 03:17:35 jeraziah installer[755]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.



I removed "Install Xcode" and re-download it (at least three times),

but the same error occured.


I've checked known issue (http://developer.apple.com/support/xcode/).

Yes, I'm using System in Japanese locale.

But log message seems to be different, so it's not the case (I think).


Any idea?

Xcode-OTHER, Mac OS X (10.6.7)

Posted on Jun 6, 2011 11:54 AM

Reply
23 replies

Jul 27, 2011 5:25 AM in response to haeena

My guess is that it was the re-install. I originally downloaded the installer from the app store and when deleting it removed all related files with app sweeper and emptied the trash. Now AFAIK xcode has not been updated since being released through the app store. So I download a fresh copy and installed with no problems.

Aug 2, 2011 8:23 AM in response to haeena

Add me to the list...


Aug  2 06:40:44 sanders-macbook _securityagent[1461]: Running Install Scripts . . .
Aug  2 06:40:44 sanders-macbook _securityagent[1463]: Begin script: AlertAll.sh
Aug  2 06:40:44 sanders-macbook installd[1200]: ./preinstall: Guest is not in the sudoers file.  This incident will be reported.
Aug  2 06:40:44 sanders-macbook _securityagent[1469]: End script: AlertAll.sh
Aug  2 06:40:44 sanders-macbook _securityagent[1470]: Begin script: preflight
Aug  2 06:40:44 sanders-macbook _securityagent[1473]: End script: preflight
Aug  2 06:40:44 sanders-macbook _securityagent[1474]: Begin script: writelocation
Aug  2 06:40:44 sanders-macbook _securityagent[1477]: End script: writelocation
Aug  2 06:40:44 sanders-macbook _securityagent[1478]: Begin script: zzzcleanup
Aug  2 06:40:44 sanders-macbook _securityagent[1482]: End script: zzzcleanup
Aug  2 06:40:44 sanders-macbook _securityagent[1483]: 4 Install Scripts run.
Aug  2 06:42:40 sanders-macbook installd[1200]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “DeveloperTools.pkg”." UserInfo=0x7fb194971e80 {NSFilePath=./preinstall, NSURL=file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/DeveloperTools.pkg, PKInstallPackageIdentifier=com.apple.pkg.DeveloperToolsLeo, NSLocalizedDescription=An error occurred while running scripts from the package “DeveloperTools.pkg”.} {
        NSFilePath = "./preinstall";
        NSLocalizedDescription = "An error occurred while running scripts from the package \U201cDeveloperTools.pkg\U201d.";
        NSURL = "file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/DeveloperTools.pkg";
        PKInstallPackageIdentifier = "com.apple.pkg.DeveloperToolsLeo";
    }
Aug  2 06:42:40 sanders-macbook installer[1440]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “DeveloperTools.pkg”." UserInfo=0x7faf016de2d0 {NSFilePath=./preinstall, NSURL=file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/DeveloperTools.pkg, PKInstallPackageIdentifier=com.apple.pkg.DeveloperToolsLeo, NSLocalizedDescription=An error occurred while running scripts from the package “DeveloperTools.pkg”.}
Aug  2 06:42:41 sanders-macbook installer[1440]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.


Xcode freshly downloaded from App store on Lion. I even redownloaded the installer: same error...


did anyone resolve it?

Aug 8, 2011 9:17 PM in response to balk

I too had the same install.log details as Balk; it too was Lion, Xcode 4.1, downloaded this morning fresh from AppStore.


I had earlier verified it wasn't because I needed to add 'root ALL=(ALL) ALL to visudo'; it occurred to me the problem was to do with the preinstall script, and perhaps I could circumvent the problem.


Applications -> right-click on 'install XCode' -> Show Contents -> Contents -> resources -> double-click on Xcode.mpkg


Installation completed without a hitch.


HTH

Aug 11, 2011 10:35 AM in response to haeena

All the tipps listed here do not help. It always ends with an error and point me to install.log:




Aug 11 16:22:59 Macintosh installd[406]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “DocDownloadOn.pkg”." UserInfo=0x7fa7d30aa160 {NSFilePath=./postinstall, NSURL=file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Pack ages/DocDownloadOn.pkg, PKInstallPackageIdentifier=com.apple.pkg.DocDownloadOnLeo, NSLocalizedDescription=An error occurred while running scripts from the package “DocDownloadOn.pkg”.} {

NSFilePath = "./postinstall";

NSLocalizedDescription = "An error occurred while running scripts from the package \U201cDocDownloadOn.pkg\U201d.";

NSURL = "file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ DocDownloadOn.pkg";

PKInstallPackageIdentifier = "com.apple.pkg.DocDownloadOnLeo";

}

Aug 11 16:22:59 Macintosh installer[402]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “DocDownloadOn.pkg”." UserInfo=0x7fbb53ad30b0 {NSFilePath=./postinstall, NSURL=file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Pack ages/DocDownloadOn.pkg, PKInstallPackageIdentifier=com.apple.pkg.DocDownloadOnLeo, NSLocalizedDescription=An error occurred while running scripts from the package “DocDownloadOn.pkg”.}

Aug 11 16:22:59 Macintosh installer[402]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.



Any idea?


Thanks,


Sebastian

Aug 20, 2011 9:03 AM in response to sebvol

Hi dude, did you fix it? I'm having the same problem and I can't figure out what the **** is going on, in my case the log says:


Aug 20 17:27:08 marvinmac installd[700]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=110 "An error occurred while extracting files from the package “XcodeTools.pkg”." UserInfo=0x7ffe76f3f840 {NSLocalizedDescription=An error occurred while extracting files from the package “XcodeTools.pkg”., NSFilePath=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root, NSURL=file://localhost/Volumes/Xcode/Packages/XcodeTools.pkg, PKInstallPackageIdentifier=com.apple.pkg.XcodeToolsLeo, NSUnderlyingError=0x7ffe764d0010 "The file couldn’t be opened because it isn’t in the correct format."} {         NSFilePath = "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root";         NSLocalizedDescription = "An error occurred while extracting files from the package \U201cXcodeTools.pkg\U201d.";         NSURL = "file://localhost/Volumes/Xcode/Packages/XcodeTools.pkg";         NSUnderlyingError = "Error Domain=NSCocoaErrorDomain Code=259 \"The file couldn\U2019t be opened because it isn\U2019t in the correct format.\"";         PKInstallPackageIdentifier = "com.apple.pkg.XcodeToolsLeo";     }
Thanks!

Sep 27, 2011 8:56 PM in response to haeena

Same problem here. New model iMac, fresh install of Lion.


Sep 27 20:37:45 Patricks-iMac installd[2315]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=110 "An error occurred while extracting files from the package “DevDocumentation.pkg”." UserInfo=0x7f98b20c49b0 {NSLocalizedDescription=An error occurred while extracting files from the package “DevDocumentation.pkg”., NSFilePath=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root, NSURL=file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Pack ages/DevDocumentation.pkg, PKInstallPackageIdentifier=com.apple.pkg.DevDocumentationLeo, NSUnderlyingError=0x7f98b0c957b0 "The file couldn’t be opened because it isn’t in the correct format."} {

NSFilePath = "/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root";

NSLocalizedDescription = "An error occurred while extracting files from the package \U201cDevDocumentation.pkg\U201d.";

NSURL = "file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Packages/ DevDocumentation.pkg";

NSUnderlyingError = "Error Domain=NSCocoaErrorDomain Code=259 \"The file couldn\U2019t be opened because it isn\U2019t in the correct format.\"";

PKInstallPackageIdentifier = "com.apple.pkg.DevDocumentationLeo";

}


I have deleted the installer and am re-downloading it now. I cannot downgrade to Snow Leopard because the Apple Store installed some firmware on my imac when the 1TB harddrive failed that is incompatible with Snow Leopard.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Xcode 4.0.2 install failed with error: "An error occurred while extracting files from the package “DeveloperTools.pkg”

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.