再安装port时,有时候会出现*** [checksum] Error code 1错误,出现这种错误的原因是有可能之前你安装时装了一半被打断了,需要重新clean掉再install.

我是在安装git的时候装依赖软件p5-Socket时出的问题,解决如下

whereis p5-Socket

cd xxx

make distclean

接着回到/usr/pors/devel/git重新安装