Opened 12 years ago

Closed 12 years ago

#35460 closed defect (invalid)

ncurses: /opt/local/bin/captoinfo already exists and does not belong to a registered port

Reported by: daniel.t.guzman@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: jmroot (Joshua Root)
Port: ncurses

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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$ 

Attachments (1)

port.txt (465 bytes) - added by daniel.t.guzman@… 12 years ago.

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by daniel.t.guzman@…

Attachment: port.txt added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jmr@… added
Description: modified (diff)
Port: ncurses added
Resolution: invalid
Status: newclosed
Summary: information sudo port install irssincurses: /opt/local/bin/captoinfo already exists and does not belong to a registered port

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 uninstall MacPorts and all ports properly, and then reinstall MacPorts.

Note: See TracTickets for help on using tickets.