Jasper Frumau | 10 Feb 05:21
Picon
Gravatar

Py Setup Tools uninstall snag during port uninstall inactive

I did a %% sudo port uninstall inactive

And got an error related to py setup tools:

--->  Uninstalling neon <at> 0.29.5_0
--->  Cleaning neon
--->  Uninstalling opensp <at> 1.5.2_0
Error: Target org.macports.uninstall returned: Registry error: p5-locale-gettext <at> 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 <at> 1.05_5
--->  Uninstalling p5-locale-gettext <at> 1.05_5
--->  Uninstalling py-mysql <at> 1.2.2_0+mysql5
--->  Unable to uninstall py-setuptools <at> 0.6c11_0, the following ports depend on it:
--->   py-django <at> 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? 

Jeremy Lavergne | 10 Feb 05:27

Re: Py Setup Tools uninstall snag during port uninstall inactive

> How do I determine what ports rely upon py-setuptools again? 

`port dependents py-setuptools`

However, based on your error, the real issue is the registry believes the port installed when in fact it
isn't (perhaps the archive got deleted or some other funky thing?).

Attachment (smime.p7s): application/pkcs7-signature, 8 KiB
Ryan Schmidt | 10 Feb 05:47
Favicon

Re: Py Setup Tools uninstall snag during port uninstall inactive


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.

Jasper Frumau | 11 Feb 14:01
Picon
Gravatar

Re: Py Setup Tools uninstall snag during port uninstall inactive

Forcefully removed py-setuptools. Cleaning was no issues except for many registry errors. Thanks everyone.

On Fri, Feb 10, 2012 at 11:47 AM, Ryan Schmidt <ryandesign <at> macports.org> wrote:

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 <at> 0.29.5_0
> --->  Cleaning neon
> --->  Uninstalling opensp <at> 1.5.2_0
> Error: Target org.macports.uninstall returned: Registry error: p5-locale-gettext <at> 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 <at> 1.05_5
> --->  Uninstalling p5-locale-gettext <at> 1.05_5
> --->  Uninstalling py-mysql <at> 1.2.2_0+mysql5
> --->  Unable to uninstall py-setuptools <at> 0.6c11_0, the following ports depend on it:
> --->          py-django <at> 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.




Gmane