Safely correcting an incorrect symbolic link in /opt/local
Epstein, David
David.Epstein at warwick.ac.uk
Sun Mar 3 15:56:53 UTC 2019
HottieNew-2:~% ls -l /opt/local/bin/python
lrwxr-xr-x 1 root wheel 24 1 Mar 16:50 /opt/local/bin/python@ -> /opt/local/bin/python3.7
HottieNew-2:~% ls -l /opt/local/bin/python3.7
ls: /opt/local/bin/python3.7: No such file or directory
There doesn’t seem to be a macports version of Python3.7.
How should I safely remove/correct this incorrect symbolic link?
Is there a port command that would fix this?
I currently have
HottieNew-2:~% ls -l /opt/local/bin/python3.6
lrwxr-xr-x 1 root admin 73 30 Dec 13:02 /opt/local/bin/python3.6@ -> /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6
HottieNew-2:~% ls -l /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python*
lrwxr-xr-x 1 root wheel 9 30 Dec 13:02 /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3@ -> python3.6
lrwxr-xr-x 1 root wheel 16 30 Dec 13:02 /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3-config@ -> python3.6-config
-rwxr-xr-x 2 root wheel 13628 30 Dec 13:01 /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6*
lrwxr-xr-x 1 root wheel 17 30 Dec 13:02 /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6-config@ -> python3.6m-config
-rwxr-xr-x 2 root wheel 13628 30 Dec 13:01 /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6m*
-rwxr-xr-x 1 root wheel 2091 30 Dec 13:02 /opt/local/Library/Frameworks/Python.framework/Versions/3.6/bin/python3.6m-config*
thanks
David Epstein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20190303/854a09d5/attachment.html>
More information about the macports-users
mailing list