[MacPorts] #33571: ncurses: captoinfo already exists and does not belong to a registered port (was: Problems with "insufficient rights" to activate ncurses port. But I'm the administrator on my computer)

MacPorts noreply at macports.org
Fri Mar 9 23:06:30 PST 2012


#33571: ncurses: captoinfo already exists and does not belong to a registered port
--------------------------------+-------------------------------------------
  Reporter:  garrets@…          |       Owner:  macports-tickets@…                   
      Type:  defect             |      Status:  closed                               
  Priority:  Normal             |   Milestone:                                       
 Component:  ports              |     Version:  2.0.4                                
Resolution:  invalid            |    Keywords:                                       
      Port:  ncurses            |  
--------------------------------+-------------------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)
  * status:  new => closed
  * resolution:  => invalid


Comment:

 Replying to [ticket:33571 garrets@…]:
 >
 {{{
 Error: Target org.macports.activate returned: Image error:
 /opt/local/bin/captoinfo already exists and does not belong to a
 registered port.  Unable to activate port ncurses. Use 'port -f activate
 ncurses' to force the activation.
 }}}

 captoinfo, a file the ncurses port wants to install, already exists on
 your computer. Why? It shouldn't. If you cannot answer why this file
 already exists when it should not, you should assume other unauthorized
 files have been left in /opt/local as well, and should follow the
 [http://guide.macports.org/chunked/installing.macports.uninstalling.html
 uninstallation instructions in the Guide]. Then reinstall MacPorts and the
 ports you want.

 You can force the activation, using the command the error message printed,
 which will move the conflicting file(s) aside. However, this situation
 should not have arisen, so to ensure you don't run into this or other
 problems again with other ports in the future, I recommend uninstalling
 and reinstalling everything.

 >
 {{{
 Garret-Schneiders-MacBook-Pro:~ garrets$ port -f activate ncurses
 Error: Insufficient privileges to write to MacPorts install prefix.
 }}}

 Correct. If you wanted to run this or any other command that modifies
 MacPorts files, you would need to preface the command with "sudo", as per
 usual.

-- 
Ticket URL: <https://trac.macports.org/ticket/33571#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list