brew tap does not work due to broken Aliases
BaconRanch opened this issue · 2 comments
BaconRanch commented
Please answers the following
I've...
- I read
- the reporting issues
- the troubleshooting
- I checked the documentation and found no answer
- I tried to install after following the suggestions
- I am running the latest version (
brew update
twice?) - I checked to make sure that this issue has not already been filed
- I uploaded logs:
brew gist-logs formula
Describe the bug
Running brew tap osgeo/osgeo4mac
on a fresh Homebrew install results in failure:
Updating Homebrew...
==> Tapping osgeo/osgeo4mac
Cloning into '/usr/local/Homebrew/Library/Taps/osgeo/homebrew-osgeo4mac'...
remote: Enumerating objects: 192, done.
remote: Counting objects: 100% (192/192), done.
remote: Compressing objects: 100% (133/133), done.
remote: Total 12574 (delta 128), reused 119 (delta 59), pack-reused 12382
Receiving objects: 100% (12574/12574), 10.14 MiB | 19.47 MiB/s, done.
Resolving deltas: 100% (9138/9138), done.
Error: Non-file alias: /usr/local/Homebrew/Library/Taps/osgeo/homebrew-osgeo4mac/Aliases/qgis-res
Error: Non-file alias: /usr/local/Homebrew/Library/Taps/osgeo/homebrew-osgeo4mac/Aliases/pyqt-qt5
Error: Non-file alias: /usr/local/Homebrew/Library/Taps/osgeo/homebrew-osgeo4mac/Aliases/qgis
Error: Non-file alias: /usr/local/Homebrew/Library/Taps/osgeo/homebrew-osgeo4mac/Aliases/qgis-ltr
Error: Non-file alias: /usr/local/Homebrew/Library/Taps/osgeo/homebrew-osgeo4mac/Aliases/sip-qt5
Error: Non-file alias: /usr/local/Homebrew/Library/Taps/osgeo/homebrew-osgeo4mac/Aliases/qgis3
Error: Cannot tap osgeo/osgeo4mac: invalid syntax in tap!
It looks like there are several Aliases that point to Formulae that do not exist.
To Reproduce
Steps to reproduce the behavior:
- Run
brew tap osgeo/osgeo4mac
Expected behavior
The tap should work.
Additional context
brew doctor
output:
Your system is ready to brew.
alazarolop commented
Thank you! It should be fixed with this commit 162feb9
BaconRanch commented
It works now! Thank you!