But this may not always be the case as ports takes its source from well known web sites and the ports are written by the
Warning of checksum error may most of the time caused by bumpy download connection that break the downloaded file. e.g. missing bits, halfway terminated file download process.
During installation of the ports, it will complain an error :
e.g.
=> MD5 Checksum mismatch for bind-9.7.0rc1.tar.gz. => SHA256 Checksum mismatch for bind-9.7.0rc1.tar.gz. => MD5 Checksum OK for bind-9.7.0rc1.tar.gz.asc. => SHA256 Checksum OK for bind-9.7.0rc1.tar.gz.asc. ===> Giving up on fetching files: bind-9.7.0rc1.tar.gz bind-9.7.0rc1.tar.gz Make sure the Makefile and distinfo file (/usr/ports/dns/bind97/distinfo) are up to date. If you are absolutely sure you want to override this check, type "make NO_CHECKSUM=yes [other args]". *** Error code 1 Stop in /usr/ports/dns/bind97. *** Error code 1 Stop in /usr/ports/dns/bind97. *** Error code 1 Stop in /usr/ports/dns/bind97.
Try the below solution :
- Some time these checksum errors can be caused by "portsnap fetch update" did not grep the checksum in time. Re-do a "portsnap fetch update" then retry the installation. If the error still persist, try the next step.
- Most likely the downloaded program did not completed properly. Remove the file(s) /usr/ports/distfiles :
- e.g. (in this case) /usr/ports/distfiles/bind-9.7.0rc1.tar.gz
Retry the installation again.
Au revoir !!!
No comments:
Post a Comment