From owner-freebsd-questions@FreeBSD.ORG Fri Oct 6 11:20:35 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7756916A604 for ; Fri, 6 Oct 2006 11:20:34 +0000 (UTC) (envelope-from wmoran@collaborativefusion.com) Received: from mx00.pub.collaborativefusion.com (mx00.pub.collaborativefusion.com [206.210.89.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 58D4043D5D for ; Fri, 6 Oct 2006 11:20:22 +0000 (GMT) (envelope-from wmoran@collaborativefusion.com) Received: from localhost (monrovll-cuda1-24-53-251-44.pittpa.adelphia.net [24.53.251.44]) (AUTH: LOGIN wmoran, TLS: TLSv1/SSLv3,256bits,AES256-SHA) by wingspan with esmtp; Fri, 06 Oct 2006 07:20:21 -0400 id 00056432.45263BF5.0001608A Date: Fri, 6 Oct 2006 07:20:20 -0400 From: Bill Moran To: "jan gestre" Message-Id: <20061006072020.ff3eb582.wmoran@collaborativefusion.com> In-Reply-To: References: Organization: Collaborative Fusion X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.20; i386-portbld-freebsd6.1) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: "freebsd-questions@freebsd.org" Subject: Re: checksum mismatch X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Oct 2006 11:20:35 -0000 "jan gestre" wrote: > On 10/6/06, jan gestre wrote: > > > > guys, > > > > i'm having problems with the amavisd-new port, portupgrade reports that > > there is a mismatch so amavisd-new won't update, i tried > > > > # make deinstall > > and > > # make reinstall > > > > i was able to deinstall it but i can't reinstall it :( i also tried: > > > > # make install clean > > > > with the same result, i have no idea how to fix this. anybody knows how to > > fix this? > > > > TIA > > > > i was able to fix it :D please ignore the thread :) > > solution: > > the checksum mismatch is causing a problem, the update from cvsup doesn't > match the checksum from the mirrors, tried changing the md5 of distinfo to > match the correct checksum but to no avail, so i downloaded > amavisd-new-2.4.3.tar.gzand > copied it to /usr/ports/distfiles and i did a make reinstall, whoala > it's working already :D Occasionally, a failed download will leave a corrupt file in /usr/ports/disfiles. Of course, part of the reason for the checksum mechanism is to detect this. Generally, the solution is to either delete the corrupt file so the make processs can re-fetch it, or manually fetch the file and overwrite the corrupted one, as you did. -- Bill Moran You will give me the Ring freely? In place of the Dark Lord you will set up a Queen. And I shall not be dark, but beautiful and terrible as the Morning and the Night! Fair as the Sea and the Sun and the Snow upon the Mountain! Dreadful as the Storm and the Lightning! Stronger than the foundations of the earth. All shall love me and despair! Galadriel