macports repair/replace command?
I accidentally removed /opt/local/bin/perl5.8.9 , which seems to be the main binary file for 开发者_StackOverflow社区perl compiled by macports.
Now I have a lots of ports depending on perl5, but don't want to uninstall and reinstall all of them.
Is there a way to repair or reinstall and replace a port? Or is /opt/local/bin/xx only a symlink? If so, where is the original binary?
I'd try this:
$ port -f uninstall perl5.8 # Force removal of perl5.8
$ port install perl5.8 # Install it again
精彩评论