gpt4 book ai didi

homebrew - 尝试在 mac big sur 上安装任何东西时,我不断收到此错误

转载 作者:行者123 更新时间:2023-12-05 02:41:44 27 4
gpt4 key购买 nike

$ brew install mongodb-community@4.4

它返回:

Error: Failure while executing; `tar --extract --no-same-owner --file /Users/frankline/Library/Caches/Homebrew/downloads/302d48e748531e0994cd7b3caf9bc7069ec6c132b710dc1bb8e33b725495056e--icu4c-69.1.big_sur.bottle.tar.gz --directory /private/tmp/d20210613-34193-g4tpe7` exited with 1. Here's the output:

tar:打开存档时出错:无法打开“/Users/frankline/Library/Caches/Homebrew/downloads/302d48e748531e0994cd7b3caf9bc7069ec6c132b710dc1bb8e33b725495056e--icu4c-69.1.big_sur.bottle.tar.gz”

最佳答案

我在执行 brew upgrade 时遇到了同样的问题。它返回:

==>installing dependencies for python@3.9: gdbm, mpdecimal, openssl@1.1 and xz.==>Installing python@3.9 dependency: gdbm==> Pouring gdbm-1.19.big_sur.bottle.tar.gztar: Error opening archive: Failed to open '/Users/xxx/Library/Caches/Homebrew/downloads/37cae0aa5a09881f7ab73dab85cc31f096f5dd68aa99e80a4ccac9957292d63d--gdbm-1.19.big_sur.bottle.tar.gz'Error: Failure while executing; tar --extract --no-same-owner --file /Users/xxx/Library/Caches/Homebrew/downloads/37cae0aa5a09881f7ab73dab85cc31f096f5dd68aa99e80a4ccac9957292d63d--gdbm-1.19.big_sur.bottle.tar.gz --directory /private/tmp/d20210615-1870-15pgco1 exited with 1. Here's the output:tar: Error opening archive: Failed to open '/Users/lichong/Library/Caches/Homebrew/downloads/37cae0aa5a09881f7ab73dab85cc31f096f5dd68aa99e80a4ccac9957292d63d--gdbm-1.19.big_sur.bottle.tar.gz'

这是我的解决方案:首先安装依赖项,即 brew install gdbm 然后升级。希望这可以解决您的问题。

关于homebrew - 尝试在 mac big sur 上安装任何东西时,我不断收到此错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67965464/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com