Re: Problem when executing “port uninstall inactive” related to py21-distribute …
Jeremy Lavergne
jeremy at lavergne.gotdns.org
Thu Jul 25 06:51:33 PDT 2013
This is likely due to the switch between setuptools and distribute.
On Jul 25, 2013, at 4:31 AM, William Gallafent wrote:
> 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. _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> https://lists.macosforge.org/mailman/listinfo/macports-users
More information about the macports-users
mailing list