uninstalling an old port after a new install
Rainer Müller
raimue at macports.org
Mon May 5 11:09:04 PDT 2008
Yvon Thoraval wrote:
> then, i wanted to uninstall the oldest :
> $ sudo port uninstall mysql5 @5.0.37_0+darwin_8+server
> ---> Unable to uninstall mysql5 5.0.37_0+darwin_8+server, the following
> ports depend on it:
> ---> php5
> Error: port uninstall failed: Please uninstall the ports that depend on
> mysql5 first.
>
> does it means php5 uses the old version (mysql5 @5.0.37_0+darwin_8+server) ?
No, php5 depends on any version of mysql5, that issues this warning. The
check does not check if there is another installed and active version
before uninstalling. You need to use port -f uninstall here.
Rainer
More information about the macports-users
mailing list