[SERVER-65066] Cannot tap mongodb/brew: invalid syntax in tap! Created: 30/Mar/22 Updated: 27/Oct/23 Resolved: 04/Apr/22 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Packaging |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Phil Rajchgot | Assignee: | Andrew Morrow (Inactive) |
| Resolution: | Community Answered | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
macOS Monterey 12.3 |
||
| Operating System: | ALL |
| Sprint: | Dev Platform 2022-04-18 |
| Participants: |
| Description |
|
When running `brew tap mongodb/brew` on the latest macOS Monterey (and on Big Sur) with the latest Homebrew, I get the following error which makes it impossible to install any MongoDB formulae: ``` Running `brew update --preinstall`... ==> Tapping mongodb/brew
|
| Comments |
| Comment by Phil Rajchgot [ 04/Apr/22 ] |
|
@Andrew Morrow That's ok with me. This issue is already the 3rd result for that error on Google so as long as it's not deleted, I think it already helps to supplement the missing troubleshooting information in Homebrew's docs. Feel free to close, thanks. |
| Comment by Andrew Morrow (Inactive) [ 04/Apr/22 ] |
|
prajchgot@turbulent.ca - I think this would happen with any tap with versioning symlinks if you had globally overridden git's defaults like that. I'd suggest that maybe any troubleshooting guidance along these lines might belong with homebrew itself, rather than with our specific tap? Unless you strongly disagree, I will probably close this issue, as I don't think it represents a bug with our tap or our documentation. |
| Comment by Phil Rajchgot [ 30/Mar/22 ] |
|
The fix was: `git config --global core.symlinks true`. Could be nice to add this to troubleshooting steps. |