当我sudo port upgrade outdated
在我的os x(lion)系统上运行命令时,我得到以下输出.
---> 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
Run Code Online (Sandbox Code Playgroud)
我应该怎么做才能更新?我试图强制激活但它没有用.
Hon*_*ong 32
我自己也有类似的东西 - 不确定它是否相关.看到这个(来源):
ncursesw很久以前被ncurses取代了.您必须在一年内更新此MacPorts安装; 如果你早点升级了,这应该已经为你自动处理了,但我们已经删除了那些升级路径,因为它已经很久了,我们认为现在每个人都会升级.您可以强制ncursesw卸载,因为它不再需要:sudo port -f uninstall ncursesw
也一定要跑
sudo port selfupdate
Run Code Online (Sandbox Code Playgroud)
预先.这可能导致了我的问题 - 安装macports并没有带来最新的包树.
归档时间: |
|
查看次数: |
7670 次 |
最近记录: |