upgrading port with dependency change

Artur Szostak aszostak at partner.eso.org
Tue Mar 31 06:33:21 PDT 2015


Hi,

I am experiencing a problem when upgrading with the following command:

  sudo port upgrade outdated

I get the following error:

  Error: org.macports.activate for port py27-astropy returned: Image error: /opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/fitscheck is being used by the active py27-pyfits port.  Please deactivate this port first, or use 'port -f activate py27-astropy' to force the activation.

This is caused by a port who's dependency changed from py27-pyfits to py27-astropy.
But should MacPorts not figure out automatically that the old pyfits dependency is no longer needed, uninstall it and install astropy instead?

Kind regards.

Artur


More information about the macports-users mailing list