md5 checksum not matching

Munehiro Matsuda haro at h4.dion.ne.jp
Fri May 28 07:13:11 PDT 2004


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 at freebsd.org mailing list
::http://lists.freebsd.org/mailman/listinfo/ctm-users
::To unsubscribe, send any mail to "ctm-users-unsubscribe at freebsd.org"


More information about the ctm-users mailing list