#22046: ncursesw not uninstalling / deactivating cleanly -------------------------------+-------------------------------------------- Reporter: dhaines@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: | Port: ncursesw -------------------------------+-------------------------------------------- When you deactivate / uninstall ncursesw, it seems to leave behind all the files in {$prefix}/share/terminfo/*. Obviously, this isn't a good thing. Here's the output from an example showing the problem: {{{ sputnik: ~ % port installed No ports are installed. sputnik: ~ % sudo port install ncursesw ---> Computing dependencies for ncursesw ---> Fetching ncursesw ---> Attempting to fetch ncurses-5.7.tar.gz from http://mirrors.ibiblio.org/pub/mirrors/gnu/ftp/gnu/ncurses ---> Verifying checksum(s) for ncursesw ---> Extracting ncursesw ---> Configuring ncursesw ---> Building ncursesw ---> Staging ncursesw into destroot ---> Installing ncursesw @5.7_0 ---> Activating ncursesw @5.7_0 ---> Cleaning ncursesw sputnik: ~ % sudo port uninstall ncursesw ---> Deactivating ncursesw @5.7_0 ---> Uninstalling ncursesw @5.7_0 sputnik: ~ % sudo port install ncursesw ---> Computing dependencies for ncursesw ---> Fetching ncursesw ---> Verifying checksum(s) for ncursesw ---> Extracting ncursesw ---> Configuring ncursesw ---> Building ncursesw ---> Staging ncursesw into destroot ---> Installing ncursesw @5.7_0 ---> Activating ncursesw @5.7_0 Error: Target org.macports.activate returned: Image error: /opt/local/share/terminfo/2/2621a already exists and does not belong to a registered port. Unable to activate port ncursesw. Error: Status 1 encountered during processing. sputnik: ~ % }}} -- Ticket URL: <http://trac.macports.org/ticket/22046> MacPorts <http://www.macports.org/> Ports system for Mac OS