[MacPorts] #35460: ncurses: /opt/local/bin/captoinfo already exists and does not belong to a registered port (was: information sudo port install irssi)

MacPorts noreply at macports.org
Tue Jul 31 21:49:56 PDT 2012


#35460: ncurses: /opt/local/bin/captoinfo already exists and does not belong to a
registered port
----------------------------------------+-----------------------------------
  Reporter:  daniel.t.guzman@…          |       Owner:  macports-tickets@…                   
      Type:  defect                     |      Status:  closed                               
  Priority:  Normal                     |   Milestone:                                       
 Component:  ports                      |     Version:  2.1.2                                
Resolution:  invalid                    |    Keywords:                                       
      Port:  ncurses                    |  
----------------------------------------+-----------------------------------
Changes (by ryandesign@…):

  * status:  new => closed
 * cc: jmr@… (added)
  * resolution:  => invalid
  * port:  => ncurses


Old description:

> sudo port install irssi
> --->  Computing dependencies for irssi
> --->  Dependencies to be installed: gettext ncurses glib2 libffi perl5
> perl5.12 gdbm zlib openssl
> --->  Activating ncurses @5.9_1
> Error: org.macports.activate for port ncurses 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.
> Error: Failed to install ncurses
> Please see the log file for port ncurses for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncurses/ncurses/main.log
> Error: The following dependencies were not installed: gettext ncurses
> glib2 libffi perl5 perl5.12 gdbm zlib openssl
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port irssi failed
> MacBook:~ danieltguzman$

New description:

 {{{
 sudo port install irssi
 --->  Computing dependencies for irssi
 --->  Dependencies to be installed: gettext ncurses glib2 libffi perl5
 perl5.12 gdbm zlib openssl
 --->  Activating ncurses @5.9_1
 Error: org.macports.activate for port ncurses 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.
 Error: Failed to install ncurses
 Please see the log file for port ncurses for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncurses/ncurses/main.log
 Error: The following dependencies were not installed: gettext ncurses
 glib2 libffi perl5 perl5.12 gdbm zlib openssl
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port irssi failed
 MacBook:~ danieltguzman$
 }}}

--

Comment:

 Why does /opt/local/bin/captoinfo already exist and not belong to a
 registered port? Did you have MacPorts installed before, and uninstalled
 it incompletely, and then reinstall it? Or perhaps you installed third-
 party software that was itself built with MacPorts and installed itself
 into the MacPorts prefix? Either way, you can either force the
 installation with -f like the error message says, or if you cannot explain
 how /opt/local/bin/captoinfo got onto your system, then you may have other
 unregistered files on your system which will cause you the same problem in
 the future, in which case it might be simplest to
 [http://guide.macports.org/#installing.macports.uninstalling uninstall
 MacPorts and all ports properly], and then reinstall MacPorts.

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


More information about the macports-tickets mailing list