On Mar 6, 2008, at 08:56, skip@pobox.com wrote:
Consider this:
% port installed | egrep python python24 @2.4.4_2+darwin_9 python24 @2.4.4_4+darwin_9 (active) python25 @2.5.2_0+darwin_9 python25 @2.5.2_1+darwin_9 (active)
One would think I should be able to uninstall the inactive ports, but I can't:
% sudo port uninstall python25@2.5.2_0+darwin_9 ---> Unable to uninstall python25 2.5.2_0+darwin_9, the following ports depend on it: ---> py25-tz ---> py25-dateutil ---> py25-hashlib ---> py25-tkinter Error: port uninstall failed: Please uninstall the ports that depend on python25 first.
It doesn't appear that the port command is smart enough to realize that the active version of the python25 port should be able to satisfy the stated dependencies.
That is correct. The port command is non-smart in this regard. You have to force it. sudo port -f uninstall python25@2.5.2_0+darwin_9