[Pythonmac-SIG] Image error activation problems

Mark Livingstone livingstonemark at gmail.com
Fri Feb 14 02:38:04 CET 2014


Hi Guys,

I have a current mac ports install. Sometime about a month or so ago my two
machines started getting these sorts of errors. Now it seems like every
time I try to update mac ports I have to fix these. Whenever I check, there
are many (sometimes over a dozen) of old versions of stuff which I have to
manually fix.

Short of nuke and restart, is there a way to fix this?

TIA,

MarkL

renaissance:src mlivingstone$ sudo port install py27-six
Password:
--->  Computing dependencies for py27-six
--->  Activating py27-six @1.5.2_0
Error: org.macports.activate for port py27-six returned: Image error:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/six-1.5.2-py2.7.egg-info
already exists and does not belong to a registered port.  Unable to
activate port py27-six. Use 'port -f activate py27-six' to force the
activation.
Please see the log file for port py27-six for details:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-six/py27-six/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port py27-six failed
renaissance:src mlivingstone$ sudo port -f activate py27-six
--->  The following versions of py27-six are currently installed:
--->      py27-six @1.3.0_0
--->      py27-six @1.4.1_0
--->      py27-six @1.5.2_0
Error: port activate failed: Registry error: Please specify the full
version as recorded in the port registry.
renaissance:src mlivingstone$ sudo port -f uninstall py27-six at 1.3.0_0
--->  Uninstalling py27-six @1.3.0_0
--->  Cleaning py27-six
renaissance:src mlivingstone$ sudo port -f uninstall py27-six at 1.4.1_0
--->  Uninstalling py27-six @1.4.1_0
--->  Cleaning py27-six
renaissance:src mlivingstone$ sudo port -f activate py27-six
--->  Computing dependencies for py27-six
--->  Activating py27-six @1.5.2_0
Warning: File
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/six-1.5.2-py2.7.egg-info
already exists.  Moving to:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/six-1.5.2-py2.7.egg-info.mp_1392341561.
--->  Cleaning py27-six
renaissance:src mlivingstone$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/pythonmac-sig/attachments/20140214/2a8c96a9/attachment.html>


More information about the Pythonmac-SIG mailing list