Install on Mac OSX with homebrew error

837 views
Skip to first unread message

Ethan Duckworth

unread,
Dec 30, 2021, 4:32:26 PM12/30/21
to Macaulay2
When I try install on Mac OSX (new MacBook Air, M processor), with a new version of homebrew, I get an authentication error:

brew install Macauley2/tap/M2
==> Tapping macauley2/tap
Cloning into '/opt/homebrew/Library/Taps/macauley2/homebrew-tap'...
Username for 'https://github.com': e-duckworth
Password for 'https://e-duc...@github.com':
remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead.
remote: Please see https://github.blog/2020-12-15-token-authentication-requirements-for-git-operations/ for more information.
fatal: Authentication failed for 'https://github.com/macauley2/homebrew-tap/'
Error: Failure while executing; `git clone https://github.com/macauley2/homebrew-tap /opt/homebrew/Library/Taps/macauley2/homebrew-tap --origin=origin --template=` exited with 128.

I set up two factor authentication on GitHub, as recommended by the link in the error, but that didn't seem to help.  

Should I give up on homebrew and use one of the disk images?



Mahrud Sayrafi

unread,
Dec 30, 2021, 4:50:46 PM12/30/21
to maca...@googlegroups.com
You should not need any authentication for using the brew tap. Something must have gone wrong with your brew installation.

You can try removing the entire directory /opt/homebrew/Library/Taps/macauley2 then trying
   brew install Macaulay2/tap/M2
again. If that doesn't work, please make an issue here: https://github.com/Macaulay2/homebrew-tap/issues

Best,
Mahrud

--
You received this message because you are subscribed to the Google Groups "Macaulay2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to macaulay2+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/macaulay2/5300fbbc-fe3d-4ca2-a2e7-a5e3763a4178n%40googlegroups.com.

Ethan Duckworth

unread,
Dec 30, 2021, 5:05:59 PM12/30/21
to Macaulay2
Thanks for the suggestion but no Macaulay2 directory exists in the indicated location

educkworth@TS24192 Taps % pwd
/opt/homebrew/Library/Taps
educkworth@TS24192 Taps % ls
homebrew



Ethan Duckworth

unread,
Dec 31, 2021, 6:33:38 AM12/31/21
to Macaulay2
Case closed, I had a typo.

Thanks Mahrud for the help.

Reply all
Reply to author
Forward
0 new messages