On Oct 22, 2019, at 01:48, Michael Newman wrote:
>> PostgreSQL is a database server. If you don't think you need it (or any
>> port), try uninstalling it. ("sudo port uninstall postgresql83"). MacPorts
>> will either let you uninstall it, or it will tell that uninstalling it will
>> break some other port. If it does the latter, look at the variants of the
>> other port ("port variants theOtherPortsName") and see if there is a variant
>> for using a newer postgresql instead. If so, reinstall the port using that
>> other variant. ("sudo port install theOtherPortsName +postgresql12" for
>> example.) If not, let us know what the other port is.
>
> Did I do the right thing?
>
> MrMuscle:~ mnewman$ sudo port uninstall postgresql83
> Password:
> The following versions of postgresql83 are currently installed:
> 1) postgresql83 @8.3.23_2
> 2) postgresql83 @8.3.23_3 (active)
> Enter option(s) [1-2/all]: all
> ---> Uninstalling postgresql83 @8.3.23_2
> Note: It is not recommended to uninstall/deactivate a port that has
> dependents as it breaks the dependents.
> The following ports will break: postgresql83-server @8.3.23_0
> Continue? [y/N]: y
> Warning: Uninstall forced. Proceeding despite dependencies.
> ---> Deactivating postgresql83 @8.3.23_3
> ---> Cleaning postgresql83
> ---> Uninstalling postgresql83 @8.3.23_3
Ok, so there were two versions of postgresql83 installed. You told MacPorts to
uninstall them both, MacPorts told you this would break the postgresql83-server
port, and you indicated that was ok, so it proceeded and uninstalled them.
You should now also uninstall the postgresql83-server port, since it's now
broken due to its dependency having been uninstalled and since you presumably
don't need it either.