解决mac下brew install报错

Error: Another active Homebrew update process is already in progress.
Please wait for it to finish or terminate it to continue.

解决:rm -rf /usr/local/homebrew/locks

         rm -f /Users/admin/Library/Caches/Homebrew/downloads/*.lock

         rm -rf /usr/local/homebrew/.git/index-lock

如果是M芯片将“/usr/local”替换为“/opt”

posted @ 2025-12-24 21:05  zbjice  阅读(407)  评论(0)    收藏  举报