使用家庭酿造的Unistall错误 - >使用brew prune时出错

时间:2018-04-08 19:56:59

标签: homebrew iterm2 iterm homebrew-cask

我已经安装了Paste并希望将其卸载,目前正在运行macOS High Sierra。 我尝试使用.pause(),然后返回$ brew uninstall Paste

之后我使用了Error: No such keg: /usr/local/Cellar/paste,其中所有内容都是最新的。

之后我使用了返回的$ brew update

$ brew doctor

但是,当我尝试使用 Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you use Homebrew for is working fine: please don't worry or file an issue; just ignore this. Thanks! Warning: Broken symlinks were found. Remove them with `brew prune`: /usr/local/share/ghostscript/9.16/Resource/CIDFont/HiraKakuPro-W3 /usr/local/share/ghostscript/9.16/Resource/CIDFont/HiraKakuPro-W6 /usr/local/share/ghostscript/9.16/Resource/CIDFont/HiraKakuProN-W3 /usr/local/share/ghostscript/9.16/Resource/CIDFont/HiraKakuProN-W6 /usr/local/share/ghostscript/9.16/Resource/CIDFont/HiraKakuStd-W8 /usr/local/share/ghostscript/9.16/Resource/CIDFont/HiraKakuStdN-W8 /usr/local/share/ghostscript/9.16/Resource/CIDFont/HiraMaruPro-W4 /usr/local/share/ghostscript/9.16/Resource/CIDFont/HiraMaruProN-W4 /usr/local/share/ghostscript/9.16/Resource/CIDFont/HiraMinPro-W3 /usr/local/share/ghostscript/9.16/Resource/CIDFont/HiraMinPro-W6 /usr/local/share/ghostscript/9.16/Resource/CIDFont/HiraMinProN-W3 /usr/local/share/ghostscript/9.16/Resource/CIDFont/HiraMinProN-W6 /usr/local/share/ghostscript/9.16/Resource/CIDFont/HiraginoSansGB-W3 /usr/local/share/ghostscript/9.16/Resource/CIDFont/HiraginoSansGB-W6 /usr/local/share/ghostscript/9.16/Resource/CIDFont/YuGo-Bold /usr/local/share/ghostscript/9.16/Resource/CIDFont/YuGo-Medium /usr/local/share/ghostscript/9.16/Resource/CIDFont/YuMin-Demibold /usr/local/share/ghostscript/9.16/Resource/CIDFont/YuMin-Medium 时,我会收到回复 $ brew prune

任何人都可以帮忙解决这个问题吗?

1 个答案:

答案 0 :(得分:0)

只需运行:

brew uninstall paste

您遇到错误:没有这样的桶:/ usr / local / Cellar / paste when brew卸载Past ,因为没有 brew公式已安装或在名为粘贴的官方 Homebrew存储库中。

brew install paste
Error: No available formula with the name "paste" 

我想您已经使用酒桶安装了它:

brew cask install paste

如果尝试使用 brew 卸载它,则会收到该错误:

brew uninstall Paste
Error: No such keg: /usr/local/Cellar/paste

要卸载粘贴,只需使用酒桶即可:

brew cask uninstall paste