【问题标题】:How to convince Homebrew that MacPorts is no longer installed [closed]如何说服 Homebrew 不再安装 MacPorts [关闭]
【发布时间】:2012-10-02 00:01:18
【问题描述】:

您好,已按照官方说明卸载了 MacPorts,然后重新启动。 Spotlight 确认我的系统上没有留下任何 MacPort 目录。特别是,/opt/local/ 不再存在。

但当我运行brew doctor 时,它会说:

Warning: You have Macports or Fink installed.
This can cause trouble. You don't have to uninstall them, but you may like to
try temporarily moving them away, eg.
sudo mv /opt/local ~/macports

我该怎么办?

【问题讨论】:

    标签: macos macports homebrew


    【解决方案1】:

    检查以下是否为真:

    • which portwhich fink 返回某物的路径。
    • /sw/opt/local 存在。

    【讨论】:

    • 谢谢。虽然 'which fink' 什么也没返回,但我在 /sw/ 中手动找到了 fink。应该是几年前安装的!现在尝试卸载它。
    • 作为参考,这里是 Homebrew 用来检查这些库的函数:github.com/mxcl/homebrew/blob/master/Library/Homebrew/…
    • @theunraveler 是的,这就是我在写这篇文章时所看到的。 :)
    猜你喜欢
    • 2016-04-05
    • 1970-01-01
    • 2021-08-09
    • 2014-02-17
    • 1970-01-01
    • 1970-01-01
    • 2012-01-08
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多