Subject: Re: Fetchmail
To: Richard Ibbotson <richard@sheflug.co.uk>
From: Steven M. Bellovin <smb@research.att.com>
List: port-i386
Date: 09/19/2004 15:48:30
In message <Pine.LNX.4.58.0409191953210.16369@sheflug.sheflug.net>, Richard Ibb
otson writes:
>Hi
>
>  Other one was Postfix.  I was 
>downloading the postfix source when the line died.  Only half the file 
>arrived on the machine and when I try to run make again it just says..
>
>=> checksum mismatch for postfix/postfix-2.0.20.tar.gz.
>
>Doesn't seem to any way that I can tell the system to download the 
>postfix archive again and continue with the installation.  Anyone know 
>how to fix this ?
> 

There are two approaches.  The first is simple: find the offending file 
somewhere under /usr/pkgsrc/distfiles, and remove it manually.  The 
other, though a bit more complex, has other benefits:  install pkglint
and run

	lintpkgsrc -orm

It will delete files with bad checksums; it will also delete older 
source tarballs that are not needed by your current pkgsrc tree.

		--Steve Bellovin, http://www.research.att.com/~smb