【发布时间】:2012-03-15 00:12:37
【问题描述】:
我使用this 链接来卸载macports,而是安装自制软件。但是,我在第一步遇到了错误。我运行 sudo port -f uninstall installed 我的终端(我在 Mac 上),它立即向我吐出这个:
Warning: port definitions are more than two weeks old, consider using selfupdate
Warning: configured user/group macports does not exist, will build as root
---> Uninstalling python27 @2.7.1_3
Error: Target org.macports.uninstall returned: error deleting "/opt/local/var/macports/software/python27/2.7.1_3": directory not empty
Log for python27 is at: /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_python27_2.7.1_3/python27/main.log
Warning: Failed to execute portfile from registry for python27 @2.7.1_3
---> Uninstalling python27 @2.7.1_3
Error: port uninstall failed: error deleting "/opt/local/var/macports/software/python27/2.7.1_3": directory not empty
我不太确定这些东西是什么意思,对 macports 也不是很熟悉。我什至不认为我用 macports 安装了 python...
【问题讨论】:
标签: python error-handling uninstallation macports homebrew