我尝试通过brew 安装 R,但出现以下错误。这是片段
==> Pouring r--4.1.0_1.big_sur.bottle.tar.gz
Error: Couldn't find manifest matching bottle checksum.
Please report this issue:
https://docs.brew.sh/Troubleshooting
/usr/local/Homebrew/Library/Homebrew/software_spec.rb:400:in `tab_attributes'
/usr/local/Homebrew/Library/Homebrew/formula.rb:2339:in `bottle_tab_attributes'
/usr/local/Homebrew/Library/Homebrew/utils/bottles.rb:100:in `load_tab'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:1154:in `pour'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:394:in `install'
/usr/local/Homebrew/Library/Homebrew/install.rb:303:in `install_formula'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:207:in `block in install'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:205:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:205:in `install'
/usr/local/Homebrew/Library/Homebrew/brew.rb:131:in `<main>'
我也做了以下操作,都很好:
brew update
brew doctor
brew upgrade
我不知道如何解决该错误。我尝试过
brew install checksum
,但没有任何叫这个名字的东西。
在另一个软件包遇到同样的问题时偶然发现了这个问题。就我而言,这是通过删除brew缓存解决的:
rm -rf "$(brew --cache)"
我在 Catalina 上有 r 4.1.0。尝试升级到 4.1.0_1 最终出现相同的错误。但当我尝试再次升级时它就有效了。
brew upgrade r
不确定再次尝试安装是否可行?