I am trying to install afni on a colleague’s mac computer however the installation keeps failing giving a failure to extract the install package (see attached image). I have tried the app install as well and that failed too. Any help would be appreciated.
Did you show the entire output before? The reason I ask is that
it does not seem to be quite the current output, yet getting the
current version should be the first thing it does.
What is the output of: ls -l ~/abin/.tmp.install ?
If there is a .tgz file there, does it seem incomplete? I am not
sure why else the tar command would fail. What is the output
from: “which tar” and “tar --version”?
I am not quite sure what to make of this. I have the same version
of tar here, and the options are fine. And your .tgz package has
the same size of what is on the web site. What happens when you
run it directly (since maybe tcsh points you to a different version)?
cd abin/.tmp.install
tar xfz macos_10.12_local.tgz
I have been banging my head at this problem today and I was finally able to install AFNI. I became a bit desperate and thought maybe the permissions on the tgz file were incorrect so I changed the permissions on the file (good old chmod 777) and afni was installed. I’m not sure why the permissions on the tgz package had to be changed, it may be some sort security setting my colleague has set up on her computer. I honestly don’t know enough about these things and should learn more! Thank you for your help and quick responses
Strange. That suggests you did not have read access. But from what I can tell, you were working via the user’s account (not doing any sudo things), is that right?
Anyway, I am glad you got it working. Maybe I should add a “chmod a+r” command, though I have never heard of this happening before.
Yes I was working with the user account. I have never had any issues installing afni on a system till this one, it was a very strange problem.
The
National Institute of Mental Health (NIMH) is part of the National Institutes of
Health (NIH), a component of the U.S. Department of Health and Human
Services.