[MacPorts] #36531: ncurses @5.9_1 failure to install error
#36531: ncurses @5.9_1 failure to install error --------------------------+-------------------------------- Reporter: butler.464@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: --------------------------+-------------------------------- I just reinstalled MacPorts on Mac OS 10.7.3 after having to uninstall it a while ago (note: I know nothing about computers, possibly did this improperly). I'm trying to reinstall povray but I get the following error: "Error: org.macports.activate for port ncurses returned: Image error: /opt/local/share/terminfo/70/p12 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" i have already tried this after sudo port uninstall ncurses and sudo port clean ncurses but it still doesn't work. i'm sure i'm doing something silly and would be grateful for any help, thanks! -- Ticket URL: <https://trac.macports.org/ticket/36531> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36531: ncurses @5.9_1 failure to install error ---------------------------+------------------- Reporter: butler.464@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: ncurses | ---------------------------+------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => jmr@… * port: => ncurses Old description:
I just reinstalled MacPorts on Mac OS 10.7.3 after having to uninstall it a while ago (note: I know nothing about computers, possibly did this improperly). I'm trying to reinstall povray but I get the following error:
"Error: org.macports.activate for port ncurses returned: Image error: /opt/local/share/terminfo/70/p12 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"
i have already tried this after sudo port uninstall ncurses and sudo port clean ncurses but it still doesn't work. i'm sure i'm doing something silly and would be grateful for any help, thanks!
New description: I just reinstalled MacPorts on Mac OS 10.7.3 after having to uninstall it a while ago (note: I know nothing about computers, possibly did this improperly). I'm trying to reinstall povray but I get the following error: {{{ Error: org.macports.activate for port ncurses returned: Image error: /opt/local/share/terminfo/70/p12 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 }}} i have already tried this after sudo port uninstall ncurses and sudo port clean ncurses but it still doesn't work. i'm sure i'm doing something silly and would be grateful for any help, thanks! -- Comment:
{{{ Image error: /opt/local/share/terminfo/70/p12 already exists and does not belong to a registered port. Unable to activate port ncurses. Use 'port -f activate ncurses' to force the activation. }}}
The question is: ''why'' does /opt/local/share/terminfo/70/p12 already exist but not belong to a registered port? If you've just installed MacPorts, there shouldn't be any rogue files in /opt/local, but the fact that there are suggests that either a previous MacPorts uninstallation attempt was not totally successful, or that you've installed another software package that was incorrectly configured to put files into the MacPorts prefix. Either way, the simplest solution is to follow the [http://guide.macports.org/chunked/installing.macports.uninstalling.html MacPorts uninstallation instructions], including the `sudo rm -rf` command, then reinstall MacPorts and the ports you want. -- Ticket URL: <https://trac.macports.org/ticket/36531#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36531: ncurses @5.9_1 failure to install error ---------------------------+-------------------- Reporter: butler.464@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: ncurses | ---------------------------+-------------------- Changes (by jmr@…): * status: new => closed * resolution: => invalid Comment: Yeah, the existence of the conflicting file is the problem, it's not a bug in the port. -- Ticket URL: <https://trac.macports.org/ticket/36531#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts