开发者

macports repair/replace command?

开发者 https://www.devze.com 2022-12-16 05:36 出处:网络
I accidentally removed /opt/local/bin/perl5.8.9 , which seems to be the main binary file for 开发者_StackOverflow社区perl compiled by macports.

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
0

精彩评论

暂无评论...
验证码 换一张
取 消