I'm getting errors while trying to install the ports tree using
I've already tried to remove and recreate /var/db/portsnap but without any success. My system is:
Any idea on what is going wrong here?
# portsnap
:
Code:
# portsnap fetch extract
portsnap: Directory does not exist or is not writable: /var/db/portsnap
bsdmag# rm /var/db/portsnap
bsdmag# rm /usr/ports
bsdmag# mkdir /var/db/portsnap
bsdmag# portsnap fetch extract
Looking up portsnap.FreeBSD.org mirrors... 5 mirrors found.
Fetching public key from portsnap5.FreeBSD.org... done.
Fetching snapshot tag from portsnap5.FreeBSD.org... done.
Fetching snapshot metadata... done.
Fetching snapshot generated at Thu Jan 12 00:06:43 UTC 2012:
67204aa8591a39a8121c6c2012129ee50551d7f6065175100% of 64 MB 168 kBps 00m00s
Extracting snapshot... done.
Verifying snapshot integrity... done.
Fetching snapshot tag from portsnap5.FreeBSD.org... done.
Fetching snapshot metadata... done.
Updating from Thu Jan 12 00:06:43 UTC 2012 to Thu Jan 12 15:05:00 UTC 2012.
Fetching 4 metadata patches. done.
Applying metadata patches... done.
Fetching 4 metadata files...
/usr/sbin/portsnap: cannot open a1d3ca465757c636dd8295698fe05e7d3fc4943204e504fee6cd5b1665ba0753.gz:
No such file or directory
metadata is corrupt.
I've already tried to remove and recreate /var/db/portsnap but without any success. My system is:
Code:
# uname -a
FreeBSD bsdluk 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Fri Feb 18 02:24:46 UTC 2011
root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
Any idea on what is going wrong here?