Failure while executing; `tar --extract --no-same-owner --file /Users/tjc/Library/Caches/Homebrew...

mac brew安装 protobuf报错,执行过程以及报错过程如下:

  • 执行brew install protobuf, 报错内容以及截图如下:
    Failure while executing; tar --extract --no-same-owner --file /Users/tjc/Library/Caches/Homebrew/downloads/59eade2e481a620cac63c9a916e3206c3baa67b37dd500a80962a498bb0ae1aa--six-1.16.0_1.arm64_big_sur.bottle.tar.gz --directory /private/tmp/d20211213-75041-wmy72u exited with 1. Here's the output
    报错截图:

    wecom-temp-1d5404b7d2d8fcc14e34de3c66b3ddba.png

  • 解决方案
    手动安装six后,再执行brew install protobuf


    wecom-temp-3ed500d0dbe52c1baab2cb38f43deee0.png

你可能感兴趣的:(Failure while executing; `tar --extract --no-same-owner --file /Users/tjc/Library/Caches/Homebrew...)