install of old version of php5-postgresql also installs newest mysql5?

Joshua Root jmr at macports.org
Tue Feb 9 21:57:19 PST 2010


On 2010-2-10 16:50 , Ryan Schmidt wrote:
> MacPorts can also sometimes get confused about dependencies. Consider the case when you have php5 @5.3.0_1+mysql5 installed (which depends on mysql5) and also php5 @5.3.0_2 or later (which doesn't) -- only one of these is active, but they're both installed. All mysql5 knows is that it was installed because of php5; it doesn't know which of the php5s brought it in. Basically if you at any time had a php5 that depended on mysql5, MacPorts considers mysql5 a dependency of php5, even if in the mean time you've upgraded to a php5 that no longer depends on mysql5.

Not quite. It considers php5 to be a dependent of mysql5. Dependencies
for the purposes of upgrade are taken from the current portfile using
the selected variants (those of the active version plus those specified
on the command line).

- Josh


More information about the macports-users mailing list