【发布时间】:2012-06-07 11:41:08
【问题描述】:
当我在我的 os x (lion) 系统上运行命令 sudo port upgrade outdated 时,我得到以下输出。
---> Computing dependencies for gettext
---> Dependencies to be installed: ncurses
---> Activating ncurses @5.9_1
Error: org.macports.activate for port ncurses returned: Image error: /opt/local/bin/captoinfo is being used by the active ncursesw port. Please deactivate this port first, or use 'port -f activate ncurses' to force the activation.
Error: Failed to install ncurses
Please see the log file for port ncurses for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/ncurses/main.log
Error: The following dependencies were not installed: ncurses
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
我应该怎么做才能更新?我尝试强制激活,但没有成功。
【问题讨论】:
-
日志中提到的详细信息显示
-
这个问题怎么跑题了? MacPorts 是“程序员常用的软件工具”,这是一个“实用的、可回答的问题……编程行业独有的问题”。还是你们五个不认为在 Mac OS X 上工作的程序员是“真正的”程序员? :-)
-
我也不明白为什么这个问题被关闭了。
-
那么确定这是“离题”的理由是什么?感谢您发布此问题并感谢@HongPong 正确回答
-
这当然是话题,因为在使用 rvm 等普通 Ruby 开发工具时会出现此错误,我已投票重新打开它。
标签: macports