From owner-freebsd-questions@FreeBSD.ORG Thu Dec 7 13:33:44 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id BC60516A503 for ; Thu, 7 Dec 2006 13:33:44 +0000 (UTC) (envelope-from jonathan@hst.org.za) Received: from sirian.hst.org.za (sirian.hst.org.za [209.203.2.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 432A843DAC for ; Thu, 7 Dec 2006 13:31:38 +0000 (GMT) (envelope-from jonathan@hst.org.za) Received: from localhost (localhost.hst.org.za [127.0.0.1]) by sirian.hst.org.za (Postfix) with ESMTP id 829DB31C7ED for ; Thu, 7 Dec 2006 15:39:11 +0200 (SAST) Received: from sirian.hst.org.za ([127.0.0.1]) by localhost (sirian.hst.org.za [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 77968-07 for ; Thu, 7 Dec 2006 15:39:11 +0200 (SAST) Received: from sysadmin.int.dbn.hst.org.za (sysadmin.int.dbn.hst.org.za [10.1.1.20]) by sirian.hst.org.za (Postfix) with ESMTP id 04A1331C7D6 for ; Thu, 7 Dec 2006 15:39:10 +0200 (SAST) From: Jonathan McKeown Organization: Health Systems Trust To: freebsd-questions@freebsd.org Date: Thu, 7 Dec 2006 15:38:02 +0200 User-Agent: KMail/1.7.2 References: <200612071352562.SM00292@TX2.Go2France.com> In-Reply-To: <200612071352562.SM00292@TX2.Go2France.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200612071538.02662.jonathan@hst.org.za> X-Virus-Scanned: by amavisd-new at hst.org.za Subject: Re: pb installing P5-BerkeleyDB 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: Thu, 07 Dec 2006 13:33:44 -0000 On Thursday 07 December 2006 15:06, Len Conrad wrote: > >> Checksum mismatch for bdb/db-4.1.25.tar.gz. > >> Checksum OK for bdb/patch.4.1.25.1. > > ===> Refetch for 1 more times files: bdb/db-4.1.25.tar.gz > ===> Vulnerability check disabled > > >> db-4.1.25.tar.gz doesn't seem to exist in /usr/ports/distfiles/bdb. > >> Attempting to fetch from http://www.sleepycat.com/update/snapshot/. > > fetch: http://www.sleepycat.com/update/snapshot/db-4.1.25.tar.gz: > Moved Permanently > > >> Attempting to fetch from > > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bdb/. > fetch: > ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/bdb/db-4.1.25.tar.gz: > size mismatch: expected 3080234, actual 2901161 The problem is that Sleepycat repackaged their tarball at some point this year, changing the filesize and checksum without changing the version number. I have a feeling I got round this on one box by upgrading the ports tree (which of course adds its own problems with newer ports, dependencies etc), and on another box by copying the checksum and file size from http://www.freshports.org/ into the port's distinfo. It is an extremely irritating problem: in an ideal world no-one would ever change the size/checksum of their main distfile without also changing the filename/version number, even if only slightly. Jonathan