Macports ncurses错误时尝试升级[已关闭]

当我运行命令sudo端口升级在我的os x(狮子)系统上过期时,我得到以下输出。

--->  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:
Error: The following dependencies were not installed: ncurses
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:


只是有一些类似我自己 – 不知道是否相关。见(source):

ncursesw was replaced by ncurses a long time ago. You must not have updated this MacPorts installation in
over a year; if you had upgraded sooner, this should have been handled more automatically for you but we’ve
already removed those upgrade paths since it was so long ago and we thought everybody would have upgraded
by now. You can just force ncursesw to uninstall since it’s no longer needed:
sudo port -f uninstall ncursesw


sudo port selfupdate

预先。这可能导致我的问题 – 安装macports不带最新的包树。

转载注明原文:Macports ncurses错误时尝试升级[已关闭] - 代码日志