Re: Problem when executing “port uninstall inactive” related to py21-distribute …

Ryan Schmidt ryandesign at
Thu Jul 25 08:46:06 PDT 2013

On Jul 25, 2013, at 03:31, William Gallafent wrote:

> Secondly, here's a problem which I've been hitting for a while. As part of some housekeeping, I periodically execute the command:
> $ sudo port uninstall inactive
> … so that superseded ports which are installed on my system are removed.
> Recently, though, the result has been:
> Humber:~ williamg$ sudo port uninstall inactive
> --->  Unable to uninstall py27-distribute @0.6.45_0, the following ports depend on it:
> --->      py27-nose @1.2.1_1
> Error: org.macports.uninstall for port py27-distribute returned: Please uninstall the ports that depend on py27-distribute first.

This has been discussed previously on the macports-dev list:

It's safe to force the uninstallation of py*-distribute since it has been replaced with py*-setuptools, e.g.:

sudo port -f uninstall py27-distribute

More information about the macports-users mailing list