Macports ncurses错误时尝试升级[已关闭] - 代码日志

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:
    /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

我该怎么办才能更新?我试图强制激活,但它没有工作。

只是有一些类似我自己 – 不知道是否相关。见(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不带最新的包树。

http://stackoverflow.com/questions/10863698/macports-ncurses-error-when-trying-to-upgrade

本站文章除注明转载外,均为本站原创或编译
转载请明显位置注明出处:Macports ncurses错误时尝试升级[已关闭]