gpt4 book ai didi

homebrew - 使用 home-brew 卸载错误 -> 使用 brew prune 错误

转载 作者:行者123 更新时间:2023-12-03 17:34:03 32 4
gpt4 key购买 nike

我安装了 Paste 并想卸载它,目前正在运行 macOS High Sierra。
我曾尝试使用 $ 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
任何人都可以帮助解决这个问题吗?

最佳答案

只需运行:

brew uninstall paste

您收到错误: 没有这样的桶:/usr/local/Cellar/paste when brew卸载过去因为没有 冲泡配方安装或在官方 Homebrew 软件库 命名 粘贴 .
brew install paste
Error: No available formula with the name "paste"

我猜你已经使用 cask 安装了它:
brew cask install paste

如果您尝试使用 卸载它 brew 你会得到那个错误:
brew uninstall Paste
Error: No such keg: /usr/local/Cellar/paste

卸载 粘贴只需使用 brew 桶反而:
brew cask uninstall paste

关于homebrew - 使用 home-brew 卸载错误 -> 使用 brew prune 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49722145/

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