In article <CABGYGEyW1yGL6Oief8jEh891PKnPOHkazKuH=dfaqdug1mt...@mail.gmail.com>, Mark Livingstone <livingstonem...@gmail.com> wrote: > 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?
In general, the MacPorts Users list is probably the best place to ask such questions: https://lists.macosforge.org/mailman/listinfo/macports-users But, a couple of suggestions. Make sure your installation is really up-to-date: sudo port selfupdate sudo port -u upgrade outdated Also, make sure you have py27-setuptools installed and not the now-obsolete py27-distribute. You could also uninstall the older versions: sudo port uninstall py27-six @1.4.1_0 sudo port uninstall py27-six @1.3.0_0 AFAIK, that egg-info file should be being installed as part of py27-six @1.5.2_0. > 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.or > g_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@1.3.0_0 > ---> Uninstalling py27-six @1.3.0_0 > ---> Cleaning py27-six > renaissance:src mlivingstone$ sudo port -f uninstall py27-six@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$ -- Ned Deily, n...@acm.org _______________________________________________ Pythonmac-SIG maillist - Pythonmac-SIG@python.org https://mail.python.org/mailman/listinfo/pythonmac-sig unsubscribe: https://mail.python.org/mailman/options/Pythonmac-SIG