mac下安装Ranger时遇到的错误及解决
直接运行brew install ranger
时出现了如下报错
==> Pouring gdbm-1.19.arm64_big_sur.bottle.tar.gz
tar: Error opening archive: Failed to open '/Users/chenylnti/Library/Caches/Homebrew/downloads/6f87dde2545bd402959fc3f2815a9583f2ba5345f68eff1533dc773c32188b1f--gdbm-1.19.arm64_big_sur.bottle.tar.gz'
Error: Failure while executing; `tar --extract --no-same-owner --file /Users/chenylnti/Library/Caches/Homebrew/downloads/6f87dde2545bd402959fc3f2815a9583f2ba5345f68eff1533dc773c32188b1f--gdbm-1.19.arm64_big_sur.bottle.tar.gz --directory /private/tmp/d20210718-5293-18s8sx3` exited with 1. Here's the output:
tar: Error opening archive: Failed to open '/Users/chenylnti/Library/Caches/Homebrew/downloads/6f87dde2545bd402959fc3f2815a9583f2ba5345f68eff1533dc773c32188b1f--gdbm-1.19.arm64_big_sur.bottle.tar.gz'
百度了好久之后并没有找到类似的问题和解决方法,最后在github上找到了官方关于