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

William Gallafent william at gallaf.net
Thu Jul 25 01:31:46 PDT 2013


Hi all,

First, thanks to the developers for the 2.2.0 release!

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.
Please see the log file for port py27-distribute for details:

/opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_py27-distribute_0.6.45_0/py27-distribute/main.log
Warning: Failed to execute portfile from registry for py27-distribute
@0.6.45_0
--->  Unable to uninstall py27-distribute @0.6.45_0, the following ports
depend on it:
--->      py27-nose @1.2.1_1
Error: port uninstall failed: Please uninstall the ports that depend on
py27-distribute first.

… this seems very strange to me. A tiny amount of further investigation
reveals:

Humber:~ williamg$ port installed py27-distribute
The following ports are currently installed:
  py27-distribute @0.6.45_0
Humber:~ williamg$ port installed py27-nose
The following ports are currently installed:
  py27-nose @1.2.1_1 (active)

… how can an active port depend on an inactive one? py27-nose is depended
on by a py27-numpy, also active, and so on, … so there's a chain of active
ports which ends in this inactive py27-distribute!

Any ideas, anyone? I couldn't see any tickets open for py27-distribute or
py27-nose, so I'm a bit stuck for now.

Thanks,

-- 
Bill Gallafent.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20130725/e03eb76a/attachment.html>


More information about the macports-users mailing list