[MacPorts] #62507: Error: Can't install sundials because conflicting ports are active: sundials2

MacPorts noreply at macports.org
Tue Mar 23 05:46:28 UTC 2021


#62507: Error: Can't install sundials because conflicting ports are active:
sundials2
---------------------------------+--------------------
  Reporter:  dbl001              |      Owner:  (none)
      Type:  defect              |     Status:  new
  Priority:  Normal              |  Milestone:
 Component:  ports               |    Version:  2.6.4
Resolution:                      |   Keywords:
      Port:  sundials sundials2  |
---------------------------------+--------------------
Changes (by ryandesign):

 * cc: robwgla, Schamschula (added)


Comment:

 Has duplicate #62529.

 @dbl001, I'm not sure what you're trying to show us with that terminal
 output. Perhaps a source of confusion is that `port list` shows you what
 is available, not what is installed. To see what is installed, use `port
 installed`. Perhaps an additional source of confusion is that `port deps`
 shows you a port's dependencies, not its dependents. To show dependents,
 use the `depends:` selector:

 {{{
 $ port installed depends:sundials2
 The following ports are currently installed:
   octave
 @6.2.0_0+accelerate+app+docs+gfortran+graphicsmagick+qt5+sound+sundials
 (active)
 }}}

 I suspect that what has happened is that you both have octave installed,
 and in version @6.2.0_1
 [changeset:4e9ed51df42ee6b26a87323165059b0e6597cb32/macports-ports octave
 changed from using sundials2 to sundials]. A simple attempt to upgrade
 octave would therefore fail because you already have sundials2 installed
 and therefore cannot install octave's new dependency sundials because of
 the conflict.

 Assuming you have no other ports installed that depend on sundials2, you
 could deactivate the old octave and its sundials2 dependency:

 {{{
 sudo port deactivate octave sundials2
 }}}

 Then you can upgrade octave which will install its new sundials
 dependency:

 {{{
 sudo port upgrade octave
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/62507#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list