我在尝试升级 Firefox 时遇到了几个这样的错误。我已更新了端口。
以下是 Firefox 安装的最后几行:
===> Registering installation for py27-setuptools27-5.5.1_1 as automatic
Installing py27-setuptools27-5.5.1_1...
pkg-static: py27-setuptools27-5.5.1_1 conflicts with py27-setuptools-1.1.7_1 (installs files into the same place).
Problematic file: /usr/local/lib/python2.7/site-packages/easy-install.pth.dist
*** [fake-pkg] Error code 70
Stop in /usr/ports/devel/py-setuptools27.
*** [build-depends] Error code 1
Stop in /usr/ports/devel/py-Jinja2.
*** [install] Error code 1
Stop in /usr/ports/devel/py-Jinja2.
*** [build-depends] Error code 1
Stop in /usr/ports/textproc/py-sphinx.
*** [build-depends] Error code 1
Stop in /usr/ports/devel/llvm34.
*** [install] Error code 1
Stop in /usr/ports/devel/llvm34.
*** [build-depends] Error code 1
Stop in /usr/ports/lang/clang34.
*** [install] Error code 1
Stop in /usr/ports/lang/clang34.
*** [build-depends] Error code 1
Stop in /usr/ports/www/firefox.
*** [install] Error code 1
Stop in /usr/ports/www/firefox.
->
答案1
按照中的说明进行操作/usr/ports/UPDATING
从 20140307 开始:
20140307:
AFFECTS: users of devel/py-setuptools dependent ports
AUTHOR: [email protected]
[...]
Please rebuild all ports that depend on devel/py-setuptools and use
devel/py-setuptools{27,32,33} instead.
XX represents python version (27, 32 or 33) in the following steps.
pkgng users:
# pkg set -o devel/py-setuptools:devel/py-setuptoolsXX
portmaster users:
# portmaster -o devel/py-setuptoolsXX devel/py-setuptools
# portmaster -r py\*setuptools
portupgrade users:
# portupgrade -o devel/py-setuptoolsXX -f devel/py-setuptools
# portupgrade -fr devel/py-setuptools
参考: