#20649: Cannot uninstall port that was deleted from MacPorts due to phantom dependency ----------------------------+----------------------------------------------- Reporter: gale@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.7.1 Keywords: | Port: ----------------------------+----------------------------------------------- When a port with dependents is deleted from MacPorts, the system often ends up in the following kind of inconsistent state: {{{ $ port list xorg-liblbxutil $ }}} So it's not in MacPorts now. {{{ $ port echo installed | grep xorg-liblb xorg-liblbxutil @1.0.1_1 }}} But it's still installed. Let's uninstall it: {{{ $ sudo port uninstall xorg-liblbxutil ---> Unable to uninstall xorg-liblbxutil 1.0.1_1, the following ports depend on it: ---> xorg-libs Error: port uninstall failed: Please uninstall the ports that depend on xorg-liblbxutil first. }}} We can't uninstall it, because of a dependency. But wait - xorg-libs depends on a port that is not in MacPorts? {{{ $ port deps xorg-lib | grep xorg-liblbxutil $ }}} Or does it? MacPorts seems very confused. -- Ticket URL: <http://trac.macports.org/ticket/20649> MacPorts <http://www.macports.org/> Ports system for Mac OS