我已安装粘贴,并希望卸载它,目前运行的macOS高塞拉利昂。我尝试过使用$ 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时,将返回
Error: Permission denied @ unlink_internal - /usr/local/share/ghostscript/9.16/Resource/CIDFont/HiraKakuPro-W3
有人能帮忙解决这个问题吗?
发布于 2018-11-18 22:42:39
只需运行:
brew uninstall paste您得到的错误是: /usr/local/Cellar/paste**when**brew named:卸载过去的,因为没有安装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桶代替:
brew cask uninstall pastehttps://stackoverflow.com/questions/49722145
复制相似问题