pb installing P5-BerkeleyDB
Jonathan McKeown
jonathan at hst.org.za
Thu Dec 7 05:33:44 PST 2006
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
More information about the freebsd-questions
mailing list