MacPort ncurses install problem ?


Error: org.macports.activate for port ncurses returned: Image error: /opt/local/bin/captoinfo is being used by the active ncursesw port. Please deactivate this port first, or use 'port -f activate ncurses' to force the activation.
here is a solution...
You got some error similar to:
You got some error similar to:
Error: org.macports.activate for port ncurses returned: Image error: /opt/local/bin/captoinfo is being used by the active ncursesw port. Please deactivate this port first, or use 'port -f activate ncurses' to force the activation.
here is a solution...

$ sudo port selfupdate
$ sudo port upgrade outdated
$ sudo port -f activate ncurses @6.0_0
adapt to the library/version cause of your problem...