Port Upgrade Error

Ryan Schmidt ryandesign at macports.org
Thu Sep 2 09:56:39 PDT 2010


On Sep 2, 2010, at 09:28, Ted Kord wrote:

> I just tried to upgrade a port; CGAL but I get this error:
> 
> Error: Target org.macports.activate returned: Image error: /opt/local/include/CGAL/Algebraic_kernel_d_1_RS_Gmpq.h already exists and does not belong to a registered port.  Unable to activate port cgal. Use 'port -f activate cgal' to force the activation.
> 
> How can I fix this without forcing the activation?

You can manually remove the file it mentions. But there may be several such files, so you may want to force it in this case.

Any idea why the file is there if it is not registered to a port? That should not normally occur.




More information about the macports-users mailing list