Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Consistent error when trying to install Command Line Tools

Hi there,


after downloading XCode from the App-store without problems, I then tried to add the Command Line Tools via the Preference/Download/Components menu.

When it comes to install the downloaded package, Xcode states "An error occured while extractng files from DevSDK.pkh", and thats about it. Re-installed Xcode, same result. Downloaded the image for the CL-utilities by hand, several versions including older ones, with the same result. The error message in /var/log/install is not very enlighning (for me)


NSUnderlyingError = "Error Domain=BOMCopierFatalError Code=1 \"The operation couldn\U2019t be completed. FinishStreamCompressorQueue error\" UserInfo=0x7ff9e1ec9ae0 {destinationPath=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandboxManager/1.sandbox/Root, offset=1156350, type=BOMCopierFatalError, sourcePath=/var/folders/2f/vqq1hf8d0851_5ty12s5g0ym0000gp/T/attached-image-2b66 48c01a1f4d20c9a96b45cf50d1e78e216eb4/Command Line Tools (Mountain Lion)/Packages/DevSDK.pkg, NSLocalizedFailureReason=FinishStreamCompressorQueue error}";

PKInstallPackageIdentifier = "com.apple.pkg.DevSDK"



I am a bit stuck here (and in desperate need of a c++ compiler). Any suggestions what to do ?

MacBook Pro with Retina display, OS X Mountain Lion (10.8.2), Xcode 4.5.2

Posted on Nov 30, 2012 8:11 AM

Reply
Question marked as Best reply

Posted on Nov 30, 2012 9:27 AM

1) How much disk space do you have?

2) have you rebooted?


as a last suggestion you could try deleting (although I am not certain about this option):


/var/folders/2f/vqq1hf8d0851_5ty12s5g0ym0000gp/T/attached-image-2b66 48c01a1f4d20c9a96b45cf50d1e78e216eb4/Command Line Tools (Mountain Lion)/Packages/DevSDK.pkg


and


/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandboxManager/1.sandbox/Root

5 replies
Question marked as Best reply

Nov 30, 2012 9:27 AM in response to sbFromMd

1) How much disk space do you have?

2) have you rebooted?


as a last suggestion you could try deleting (although I am not certain about this option):


/var/folders/2f/vqq1hf8d0851_5ty12s5g0ym0000gp/T/attached-image-2b66 48c01a1f4d20c9a96b45cf50d1e78e216eb4/Command Line Tools (Mountain Lion)/Packages/DevSDK.pkg


and


/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandboxManager/1.sandbox/Root

Nov 30, 2012 10:25 AM in response to Wayne Contello

Thank you for the quick response. Unfortunately, this did not solve the issues. I had re-booted a couple of times (I have tried to install this over a couple of days, whenever I had some time to burn), and neither of the files/drectories you mentioned are present (find /var -name ....), so nothing to remove.


This is a brand new MacBook so there is plenty of disk-space (>~ 400GByte) left.

Nov 30, 2012 11:11 AM in response to sbFromMd

you can use the terminal to check for these folders.


To open the Terminal navigate to the folde "/Applications/Utilities/"


double clcik "Terminal"


Here is a listing on my machine (bold is what I typed):

Proton:~ wayne$ cd /var/folders/

Proton:folders wayne$ ls -al

total 0

drwxr-xr-x 8 root wheel 272 Sep 15 16:11 .

drwxr-xr-x 27 root wheel 918 Aug 23 14:37 ..

drwxr-xr-x 3 root wheel 102 Aug 23 14:46 7h

drwxr-xr-x 3 root wheel 102 Aug 23 14:43 db

drwxr-xr-x 3 root wheel 102 Sep 15 16:11 jj

drwxr-xr-x 3 root wheel 102 Aug 23 14:57 qq

drwxr-xr-x 3 root wheel 102 Aug 23 14:57 vy

drwxr-xr-x 22 root wheel 748 Sep 15 16:13 zz

Proton:folders wayne$


you can type "cd /var/folders/zz" to get to one of the folder (if it exists). If the folder does not exist then I would try logging in as another user and attempt to install from there

Nov 30, 2012 11:30 AM in response to Wayne Contello

Thanks Wayne,


I followed your advice to install as a different user, and this solved the issue. I guess, when it comes to update, I will run into the same problem, so it might be worthwhile to see if this is related to the directory structure). While I have a number of directories (9 vs, the six in your listing) in /var/folders

0j2f2p7x_6f3plyy

zz


my list is not a super-set, as the names of directories differ. I am not sure about the expected behavior here?


Anyway, if this tells you something, and you have some advice, let me know. Otherwise, as I now have my compiler, I can live with this until next time....

Nov 30, 2012 12:14 PM in response to sbFromMd

the last entry in the list you provided is "zz" so ...



if you look at the second path in the error message (bolded)...:


/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandboxManager/1.sandbox/Root



you will see that the path matches. If you don't feel compfortable navigating via the terminal you can also navigate via the finder and go directly to this folder by selecting the menu item "Go > Go To Folder...":



User uploaded file


then enter the path "/var/folders"


you will see the "zz" folder in there. you can open that and continue until you can see the folder "zyxvpxvq6csfxvn_n0000000000000"



Here is view from the terminal and the Finder of the same structure:

User uploaded file


I have that same folder:

User uploaded file


select this folder and delete (I think you will have to authenticate to remove).... sorry I am not going to remove since things are working on my end.


locate the other folder and do the same.

Consistent error when trying to install Command Line Tools

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