Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Oct 2006 07:20:20 -0400
From:      Bill Moran <wmoran@collaborativefusion.com>
To:        "jan gestre" <freebsd.ph@gmail.com>
Cc:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: checksum mismatch
Message-ID:  <20061006072020.ff3eb582.wmoran@collaborativefusion.com>
In-Reply-To: <a25afc300610052014r33ba4506t3537e20862041a77@mail.gmail.com>
References:  <a25afc300610051921y417e8a5bsf1874eb7505049b0@mail.gmail.com> <a25afc300610052014r33ba4506t3537e20862041a77@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"jan gestre" <freebsd.ph@gmail.com> wrote:

> On 10/6/06, jan gestre <freebsd.ph@gmail.com> 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.gz<http://www.ijs.si/software/amavisd/amavisd-new-2.4.3.tar.gz>and
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061006072020.ff3eb582.wmoran>