If you are facing issues with Homebrew while installing or updating the GCC package (or any other module), follow this guide. The error occurred for me recently during my periodic homebrew updates on my MacBook Pro. devharsh@Devharshs-MacBook-Pro ~ % brew update && brew upgrade && brew cleanup Already up-to-date. Warning: Skipping gcc: most recent version 12.1.0 not installed For some reason, I had a warning flashing up for GCC. So I tried to install the missing version. devharsh@Devharshs-MacBook-Pro ~ % brew install -f gcc@12 Error: gcc 12.1.0_1 is already installed To install 12.1.0, first run: brew unlink gcc Which unsurprisingly did not work, so I tried unlinking it. devharsh@Devharshs-MacBook-Pro ~ % brew unlink gcc Error: No su...
Comments
Post a Comment