portsnap fetch command gives metadata is corrupt errorTry out following commands as superuserrm -Rf /var/db/portsnap/mkdir /var/db/portsnapportsnap fetchportsnap update
This worked for me :)