【问题标题】:how to flush macports installation queue?如何刷新macports安装队列?
【发布时间】:2009-11-21 21:28:21
【问题描述】:

我想用 macports 安装 git - 它失败了。好的。所以我选择了 dmg - 成功了。

但是,现在我无法从某些安装队列中删除 git,如果我想安装任何东西,它仍然会获取 git install 命令(顺便说一句失败了)。

所以..“sudo port install htop”仍然调用“sudo port install git-core”

如何解决?

【问题讨论】:

  • 您应该编辑您的问题以包含更多您收到的错误消息。您对 Nerdling 的回答的评论中的内容是一个开始,但它并没有太多可以继续下去 - 它表明链接器没有找到 libexpat,也许尝试重建 expat 端口port upgrade --force expat

标签: macports


【解决方案1】:

htop 使用 git 存储库。你必须先安装git-core。先试试这个:

sudo port clean git-core

【讨论】:

  • 做到了。之前也有selfupdate。不知道 git 依赖,所以忘记安装队列的理论;)这是错误输出: 命令输出:http-push.o 中的 _lock_remote http-push.o 中的 _main “_XML_GetErrorCode”,引用自:http-中的 _remote_ls http-push.o 中的 push.o _lock_remote ... 类似 ld:未找到符号 collect2:ld 返回 1 退出状态 make:*** [git-http-push] 错误 1
猜你喜欢
  • 2020-08-13
  • 1970-01-01
  • 2010-11-22
  • 2012-03-04
  • 2012-07-08
  • 2014-05-30
  • 1970-01-01
  • 1970-01-01
  • 2020-08-24
相关资源
最近更新 更多