[root@s40 /usr/home/hbbf]# portsnap auto Looking up portsnap.FreeBSD.org mirrors... 6 mirrors found. Fetching snapshot tag from ec2-sa-east-1.portsnap.freebsd.org... done. Fetching snapshot metadata... done. Updating from Tue Apr 17 07:44:48 -03 2018 to Thu Apr 19 06:59:00 -03 2018. Fetching 5 metadata patches... done. Applying metadata patches... done. Fetching 0 metadata files... done. Fetching 44 patches. (44/44) 100.00% done. done. Applying patches... done.pping ffc917251f4bf6d46cd575349b8eacae8d7904aade459ebf1f72ee528350a938-cd00dc57e8c5446d6c30f3c6ef01c1bd6b3a80ea7d5a60cd50378a932e92696b (44 of 44 patchlist). Fetching 43 new ports or files... /usr/sbin/portsnap: cannot open a27732396323b40f8e44b6cc4636ccb77cebf0e72c5d34f4c7c302b6ef422d7e.gz: No such file or directory snapshot is corrupt.
Presenting on all servers in my network...
rm -rf /var/db/portsnap/* portsnap auto Looking up portsnap.FreeBSD.org mirrors... 6 mirrors found. Fetching public key from ec2-sa-east-1.portsnap.freebsd.org... done. Fetching snapshot tag from ec2-sa-east-1.portsnap.freebsd.org... done. Fetching snapshot metadata... not continue. Stop at this point.
[root@n43s /usr/home/hbbf]# portsnap auto Looking up portsnap.FreeBSD.org mirrors... 6 mirrors found. Fetching snapshot tag from ec2-sa-east-1.portsnap.freebsd.org... done. Fetching snapshot metadata... done. Updating from Wed Apr 18 07:53:12 -03 2018 to Thu Apr 19 09:52:07 -03 2018. Fetching 0 metadata patches. done. Applying metadata patches... done. Fetching 0 metadata files... done. Fetching 40 patches. (40/40) 100.00% done. done. Applying patches... done.pping ffc917251f4bf6d46cd575349b8eacae8d7904aade459ebf1f72ee528350a938-cd00dc57e8c5446d6c30f3c6ef01c1bd6b3a80ea7d5a60cd50378a932e92696b (40 of 40 patchlist). Fetching 40 new ports or files... /usr/sbin/portsnap: cannot open a27732396323b40f8e44b6cc4636ccb77cebf0e72c5d34f4c7c302b6ef422d7e.gz: No such file or directory snapshot is corrupt.
Heraldo, I had this same problem. Basically, the portsnap mirror on EC2 AWS in São Paulo (Region ec2-sa-east-1) isn't working properly and it's the one automatically selected for you like it was for me (connecting from Chile). I couldn't find a list of portsnaps servers, but fortunately I have a FreeBSD server located outside South America so I could try from there and get it's portsnap mirror. Here you go... This command worked for me: portsnap -s ec2-eu-west-1.portsnap.freebsd.org fetch extract David