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

Jun 6, 2011 1:12 PM in response to K T

Thanks for reply, K T.

haeena@jeraziah (0) > df -h

Filesystem Size Used Avail Capacity Mounted on

/dev/disk0s2 179Gi 81Gi 98Gi 46% /

devfs 178Ki 178Ki 0Bi 100% /dev

/dev/disk0s3 59Gi 15Gi 44Gi 26% /Volumes/BOOTCAMP

map -hosts 0Bi 0Bi 0Bi 100% /net

map auto_home 0Bi 0Bi 0Bi 100% /home


There're enough free space to go.

Jun 6, 2011 1:52 PM in response to K T

Yes, there're two partition.

One is for Mac OS X, one is for Windows 7(64bit, bootcamp).


But, I think, parted disk cause no error like that.

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.")

It says ".pkg file is corrupt", doesn't it?

Jun 6, 2011 2:29 PM in response to haeena

And here's md5 hash of .pkg files.


haeena@jeraziah (0) > for i in `ls /Applications/Install\ Xcode.app/Contents/Resources/Packages`; do
md5 $i
done
MD5 (ApplicationLoader.pkg) = 10428c481f49a6f3d615b085e715f385
MD5 (BluetoothSDK.pkg) = 58ec59e543d651db1ef51551cf3980ac
MD5 (CoreAudioSDK.pkg) = de60f7e076a6575f9ca99cbe3cb35c71
MD5 (Dashcode.pkg) = fbce6e1050ca38d68a77087a2a01d058
MD5 (DevDocumentation.pkg) = 4d75982b327add705b5227cde95eece3
MD5 (DevSDK.pkg) = b332ab5beed7233584fa13275c0f32e6
MD5 (DevSamples.pkg) = 2242b9add7db1a1ea0635d6a476084d8
MD5 (DevToolsDocumentation.pkg) = 423a7da1d97461ec25c0049b76f0f12a
MD5 (DeveloperDiskImage4_3.pkg) = 9f3a79040bbf89da4411e5c9c3b41449
MD5 (DeveloperDiskImageReleased.pkg) = 59b578507d5c2b9d8862ac6f702e6bcc
MD5 (DeveloperTools.pkg) = 77bc45aede3d4783d27402283a2d2e65
MD5 (DeveloperToolsCLI.pkg) = 2b72e2edd90a01fb9802d1c3cf112079
MD5 (DeveloperToolsSystemSupport.pkg) = cc318a939b71e05e43a4f5101cd9799b
MD5 (DistributedBuildsSupport.pkg) = 37c16112aff13338414776dc14053f70
MD5 (DocDownloadOff.pkg) = 7b6ea0892ae1c78a723b57ceda629909
MD5 (DocDownloadOn.pkg) = 015bab99b60a507defe9acd9de7187d8
MD5 (FireWireSDK.pkg) = 1a95545e39a2d428be1eb3b1a69cbc3f
MD5 (Git.pkg) = 915b0bfcb2d18758512cc97a2f8629d1
MD5 (InstallerTools.pkg) = d160bd46b5a585b52034da12443cb648
MD5 (JavaSDK.pkg) = 4ccd3783a69e2b494a35292939ff261f
MD5 (MacOSX10.6.pkg) = be07f8f97c0237aa3be5a8247dc0fd54
MD5 (MobileDevice.pkg) = 711d94e2c45a01e899a9efc630da96b4
MD5 (OpenGLApps.pkg) = f354c7c2a0acaf9e135f8acb5767d507
MD5 (OpenGLSDK.pkg) = 3dd031cca98628655cc9dc3f94abf46c
MD5 (OtherDevDocumentation.pkg) = 297cd33182da7bd18cc93c3015705662
MD5 (QuickTimeSDK.pkg) = cc3a74e89042a57ac79b069e63e60133
MD5 (RelocatableScript.pkg) = 19194746780ffa4e9a9b0a785197a1d8
MD5 (SystemScript.pkg) = 5f8b68195d7f96588031f0e3eaf696e7
MD5 (VersionedDeveloperToolsSystemSupport.pkg) = b53c6af26a2995dea91e478a56fc2464
MD5 (WebKitSDK.pkg) = 9ac55f16514b8d94845671c4e1dc749d
MD5 (X11Documentation.pkg) = eef86f3720f34715b88243d78654857d
MD5 (X11SDK.pkg) = b50d5e95d9f8db8b26abf19c16efacf8
MD5 (XcodeTools.pkg) = 4929957eb1694845143822d275157a06
MD5 (Xcode_MacOSX10.6_Extras.pkg) = c81a1fff6ddf52a2ad1524bc5ec13b33
MD5 (Xcode_System_Tools_MacOSX10.6_Extras.pkg) = 1c28ca42aa4fbbfca40cf5637479c498
MD5 (XcodeiPhonePlugins.pkg) = ce19b82f20906d787b3f699dab99c11e
MD5 (clang.pkg) = 4f97c874f1703517f6d176123ad8a8d7
MD5 (gcc4.2.pkg) = 5be27869db3541eb50cb41fc8da37ec5
MD5 (gcc4.2ADCDocs.pkg) = 5c8a9950ba36e9858e0739a18f454bba
MD5 (iPhoneDocumentation.pkg) = 14ba952b63fbe1d44d62338cc3d7e017
MD5 (iPhoneHostSideTools.pkg) = 73b38868a7e90f0f023d472f805db471
MD5 (iPhoneSDK3_0.pkg) = 361a7da197bb03db80611407fef5a143
MD5 (iPhoneSDK3_1.pkg) = 301625abbcfbc24d8d1860d41d7ef6d8
MD5 (iPhoneSDK3_1_2.pkg) = a2d4117968cba24b435d736dcfeb39b3
MD5 (iPhoneSDK3_1_3.pkg) = b0a9bbc30462bc39f410f014fa9ea0ae
MD5 (iPhoneSDK3_2.pkg) = 34e3be9266a07ebad025d82d617d5d74
MD5 (iPhoneSDK4_0.pkg) = b5e395c18575f84934d60795f5ef27d5
MD5 (iPhoneSDK4_1.pkg) = 204d796cf9f453d4cedfb22fffeccd63
MD5 (iPhoneSDK4_2.pkg) = 153029ff4989baec2939d824f474bb7a
MD5 (iPhoneSDK4_3.pkg) = fcae5a70f1e175a4023f501cf4d1554b
MD5 (iPhoneSDKSnowLeopardExtras.pkg) = 752d280ccd3dbf7724ea0a09647b01e7
MD5 (iPhoneSDKTools.pkg) = c6ee39336fba14d3e9915617754280de
MD5 (iPhoneSimulatorSDK3_2.pkg) = 20a1823c39871f56cf5eb59a616e028c
MD5 (iPhoneSimulatorSDK4_0.pkg) = 9b2ab41f95ca10c1284cae77bf78fcea
MD5 (iPhoneSimulatorSDK4_1.pkg) = ca9919ac03f20a5125bb3440759c63d6
MD5 (iPhoneSimulatorSDK4_2.pkg) = 384bcdd8bffe25f33ffcb343e4a5a1c2
MD5 (iPhoneSimulatorSDK4_3.pkg) = 3e47cbe746764e011a9c92c277aa842e
MD5 (iPhoneSimulatorSDKTools.pkg) = e35432d5940b50370d290ac8cfaaf41e
MD5 (iPhoneSystemComponents.pkg) = 757548effa72256ac077a2eaa6274934
MD5 (llvm-gcc4.2.pkg) = 38d6116e27d2bed2b9042d49a928ee7a
MD5 (xcrun.pkg) = fb924913529aa1dc3c599c166fe3981d

Jul 22, 2011 10:47 AM in response to haeena

I have the identical issue while trying to install XCode 4.1 on Lion.

The log say:


Jul 22 19:25:40 faultier installd[719]: PackageKit: Install Failed: Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “DeveloperTools.pkg”." UserInfo=0x7fe7ac457e20 {NSFilePath=./preinstall, NSURL=file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Pack ages/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";

}

Jul 22 19:25:40 faultier installer[3197]: install:didFailWithError:Error Domain=PKInstallErrorDomain Code=112 "An error occurred while running scripts from the package “DeveloperTools.pkg”." UserInfo=0x7f9bcb3586e0 {NSFilePath=./preinstall, NSURL=file://localhost/Applications/Install%20Xcode.app/Contents/Resources/Pack ages/DeveloperTools.pkg, PKInstallPackageIdentifier=com.apple.pkg.DeveloperToolsLeo, NSLocalizedDescription=An error occurred while running scripts from the package “DeveloperTools.pkg”.}

Jul 22 19:25:41 faultier installer[3197]: Install failed: The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance.


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.