[MacPorts] #31702: port select fails if symlink already exists from earlier installation
#31702: port select fails if symlink already exists from earlier installation ----------------------------------+----------------------------------------- Reporter: gunnlaugur@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.3 Keywords: | Port: ----------------------------------+----------------------------------------- This command: {{{ sudo port select python python26 }}} is failing with the output: {{{ Selecting 'python26' for 'python' failed: symlink: /opt/local/etc/select/python/current -> python26: file already exists }}} The timestamp on `/opt/local/etc/select/python/current` is August 3. But I nuked my whole MacPorts setup yesterday in accordance with [wiki:Migration Migration]. So after uninstalling all python versions and reinstalling MacPorts itself, this symlink remains, and interferes with `port select`. I hit the same problem with `port select gcc42` so it seems to be a general MacPorts problem, not specific to python. -- Ticket URL: <https://trac.macports.org/ticket/31702> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31702: port select fails if symlink already exists from earlier installation ----------------------------------+----------------------------------------- Reporter: gunnlaugur@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.3 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by ryandesign@…): Not surprising. Delete those symlinks. -- Ticket URL: <https://trac.macports.org/ticket/31702#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31702: port select fails if symlink already exists from earlier installation ----------------------------------+----------------------------------------- Reporter: gunnlaugur@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.3 Keywords: | Port: ----------------------------------+----------------------------------------- Comment(by gunnlaugur@…): Sure, the workaround is straightforward :) ... but still those symlinks should be removed when the corresponding ports are uninstalled. (Yeah, the title of this bug could have been better...) -- Ticket URL: <https://trac.macports.org/ticket/31702#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts