Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error installing on Mac #237

Open
CGMossa opened this issue Jun 25, 2024 · 6 comments
Open

Error installing on Mac #237

CGMossa opened this issue Jun 25, 2024 · 6 comments

Comments

@CGMossa
Copy link

CGMossa commented Jun 25, 2024

sudo rig install release
[INFO] arm64-R-4.4.1-arm64.pkg is cached at /tmp/rig/arm64-R-4.4.1-arm64.pkg
[INFO] Running installer
[INFO] > installer: Package name is R 4.4.1 for macOS (ARM64)
[INFO] > installer: Installing at base path /
[INFO] > installer: The install failed. (The Installer encountered an error that caused the installation to fail. Contact the software manufacturer for assistance. An unexpected error occurred while moving files to the final destination.)
[ERROR] command ["arch", "-arm64", "installer", "-pkg", "/tmp/rig/EMyFIpJkLF.pkg", "-target", "/"] exited with code 1

I'm using zsh on Mac,

❯ sw_vers                 
ProductName:            macOS
ProductVersion:         14.5
BuildVersion:           23F79

I tried to use "regular" terminal and still encountered this issue.

@CGMossa
Copy link
Author

CGMossa commented Jun 25, 2024

I tried rig system fix-permissions. It didn't work. Then I granted the terminal full disk access, and that worked. But that cannot be the permanent solution, right?

@gaborcsardi
Copy link
Member

But that cannot be the permanent solution, right?

IDK if there is any other way for a command line app to run the R installer.

@CGMossa CGMossa closed this as completed Jun 25, 2024
@gaborcsardi
Copy link
Member

So, I agree that this is not great, and I'll

  • investigate if this is the best we can do,
  • If yes, then try to have a better error message, and
  • document this.

If you don't mind, I'll leave this issue open for now.

@gaborcsardi gaborcsardi reopened this Jun 26, 2024
@CGMossa
Copy link
Author

CGMossa commented Jun 26, 2024

Oh, I don't mind. I just read your response, the FAQ, and just sort of thought it was a done and closed deal.

This might be new Mac OS related too. I'm very new to the mac universe, but googling didn't yield good answers either.

Thanks!

@cathblatter
Copy link

fwiw I got the same error message but the installation still worked without running more than rig install release in iterm2

@abduazizR
Copy link

I get the same message. But I managed to have multiple versions available anyway when I run rig list I can see all versions installed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants