Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 May 2004 09:36:47 -0500
From:      "Shawn Kennedy" <shawnlkennedy@lucent.com>
To:        "Munehiro Matsuda" <haro@h4.dion.ne.jp>
Cc:        ctm-users@freebsd.org
Subject:   RE: md5 checksum not matching
Message-ID:  <NEBBLNBDCLDILGOPJLGICEELDIAA.shawnlkennedy@lucent.com>
In-Reply-To: <20040528.231233.74757112.haro@h4.dion.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
I was able to step around it by blowing 
away /usr/ports (remembering to keep the distfiles!!!)
and rerunning CTM from 5200xEmpty forward.

Thank you for the info on how to avoid this in
the future!!!

Another suggestion give by folks is to never
build the INDEX files.  I didn't know you could 
get away with that - I guess I'm still in my
old cvsup mode .... :-)

Thanks for the quick responses!!

Shawn

> -----Original Message-----
> From: Munehiro Matsuda [mailto:haro@h4.dion.ne.jp]
> Sent: Friday, May 28, 2004 9:13 AM
> To: shawnlkennedy@lucent.com
> Cc: ctm-users@freebsd.org
> Subject: Re: md5 checksum not matching
> 
> 
> Hi Shawn,
> 
> You should not edit/change files maintaind with CTM.
> If you must, you have to add ".ctm" suffix to that file.
> 
> I your case now, you should do the following procedure
> to get things back to normal, and continue what you have
> been doing.
> 
> # cd /usr/ports
> # rm INDEX-5
> # rm INDEX
> # ctm -vuF -e INDEX /usr/CTM/PORTS/ports-cur.5200xEmpty.gz
> # mv INDEX INDEX.ctm
> # mv INDEX-5 INDEX-5.ctm
> # ctm -v -v /usr/CTM/PORTS/*.52??.gz
> # ...Remake INDEX at your needs
> 
> Hope this helps,
>  Haro
> =------------------------------------------------------------------------------
>            _ _    Munehiro (haro) Matsuda
>  -|- /_\  |_|_|   Internet Solution Dept., Kubota Graphics Technologies Inc.
>  /|\ |_|  |_|_|   2-8-8 Shinjuku Shinjuku-ku Tokyo 160-0022, Japan
>                   Tel: +81-3-3225-0767  Fax: +81-3-3225-0740
> 
> From: "Shawn Kennedy" <shawnlkennedy at lucent.com>
> Date: Fri, 28 May 2004 08:42:05 -0500
> ::Help!
> ::
> ::I've been using ctm successfully for a couple of months 
> ::with no problem until now.
> ::
> ::Went to apply some port updates and now get a md5 checksum 
> ::mismatch against the INDEX file in my /usr/ports directory.
> ::I've re-downloaded the offending update and recreated the
> ::INDEX (make index), but to no avail.
> ::
> ::How do I get past this? Is there a way to skip 1 file?
> ::I always rebuild my INDEX file after every update.
> ::
> ::Shawn
> ::
> ::==============================
> ::
> ::# ctm -v -v /usr/CTM/PORTS/*.5234*         
> ::Working on </usr/CTM/PORTS/ports-cur.5234.gz>
> ::Expecting Global MD5 <3e641d33db268e8a86b5ee4925381e49>
> ::Reference Global MD5 <3e641d33db268e8a86b5ee4925381e49>
> ::  FN: INDEX md5 mismatch.
> ::  FN: INDEX edit fails.
> ::ctm: exit(104)
> ::
> ::(snippet from a "-V" option)
> ::
> ::Expecting Global MD5 <3e641d33db268e8a86b5ee4925381e49>
> ::<3e641d33db268e8a86b5ee4925381e49>
> ::Reference Global MD5 <3e641d33db268e8a86b5ee4925381e49>
> ::Pass2 -- Checking if CTM-patch will apply
> ::<CTM_BEGIN>
> ::<2.0>
> ::<ports-cur>
> ::<5234>
> ::<20040428221744Z>
> ::<.>
> ::<CTMFS>
> ::<.ctm_status>
> ::<1004>
> ::<1004>
> ::<644>
> ::<d8c54ff623d498d3c32dd403db126b12>
> ::<29eed1698946b62b19270a2e5b204aa1>
> ::<15>
> ::<CTMFN>
> ::<INDEX>
> ::<1004>
> ::<1004>
> ::<644>
> ::<96a8c483173870df764fdbefdaee3c26>
> ::  FN: INDEX md5 mismatch.
> ::<d32e984d8ee0f4c9d87ff7d764a06a01>
> ::<3924660>
> ::  FN: INDEX edit fails.
> ::ctm: exit(104)
> ::
> ::(md5 calculation of INDEX)
> ::# md5 INDEX
> ::MD5 (INDEX) = 8f5ee54ec4eb93ca31974a1195d7a3c5
> ::
> ::_______________________________________________
> ::ctm-users@freebsd.org mailing list
> ::http://lists.freebsd.org/mailman/listinfo/ctm-users
> ::To unsubscribe, send any mail to "ctm-users-unsubscribe@freebsd.org"



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