Py Setup Tools uninstall snag during port uninstall inactive

Ryan Schmidt ryandesign at
Thu Feb 9 20:47:04 PST 2012

On Feb 9, 2012, at 22:21, Jasper Frumau wrote:

> I did a %% sudo port uninstall inactive
> And got an error related to py setup tools:
> --->  Uninstalling neon @0.29.5_0
> --->  Cleaning neon
> --->  Uninstalling opensp @1.5.2_0
> Error: Target org.macports.uninstall returned: Registry error: p5-locale-gettext @1.50.0_5 not registered as installed
> Log for p5-locale-gettext is at: /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_p5-locale-gettext_1.05_5/p5-locale-gettext/main.log
> Warning: Failed to execute portfile from registry for p5-locale-gettext @1.05_5
> --->  Uninstalling p5-locale-gettext @1.05_5
> --->  Uninstalling py-mysql @1.2.2_0+mysql5
> --->  Unable to uninstall py-setuptools @0.6c11_0, the following ports depend on it:
> --->  	py-django @1.2.4_0
> Error: port uninstall failed: Please uninstall the ports that depend on py-setuptools first.
> How do I determine what ports rely upon py-setuptools again? 

port echo depends:setuptools

As you can see, there aren't any. "setuptools" was replaced by "distribute" some time ago. You can safely (forcibly if necessary) uninstall any remaining installed versions of setuptools.

More information about the macports-users mailing list