[MacPorts] #60847: port install subport=xyz doesnt work as expected
MacPorts
noreply at macports.org
Wed Jul 22 02:39:38 UTC 2020
#60847: port install subport=xyz doesnt work as expected
----------------------+--------------------
Reporter: wadjei | Owner: (none)
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: invalid | Keywords:
Port: |
----------------------+--------------------
Changes (by ryandesign):
* status: new => closed
* resolution: => invalid
Comment:
Replying to [comment:2 wadjei]:
> So it was the dependency on the main package that was pulling in the
update (still quite confusing)?
You have the main ports tree containing mysql8 @8.0.21.
You created a secondary ports tree containing mysql8 @8.0.19 and installed
it. Any of mysql8's dependencies that weren't already installed or that
were outdated were installed or upgraded via the main ports tree.
You then tried to install mysql8-server @8.0.19 from your secondary ports
tree. It depends on mysql8, and MacPorts tried to satisfy that dependency
from the main ports tree, where it found mysql8 @8.0.21, so it tried to
upgrade mysql8 first, which failed. `-n` tells MacPorts not to upgrade
dependencies first.
--
Ticket URL: <https://trac.macports.org/ticket/60847#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list