Xmlto checksum (md5) mismatch

Ryan Schmidt ryandesign at macports.org
Tue Sep 25 12:08:14 PDT 2007


On Sep 25, 2007, at 13:16, Marcos Rivera wrote:

> On 9/22/07 9:04 AM, "N_Ox" wrote:
>
>> Le 21 sept. 07 à 18:58, Marcos Rivera a écrit :
>>
>> > I am new to mcports and was attempting to install Gimp.
>> > I have xcodetools installed and it got part way through until it
>> > his xmlto
>> > Below is error I received when trying to install just xmlto
>> >
>> > $ sudo port install xmlto
>> > Password:
>> > --->  Verifying checksum(s) for xmlto
>> > Error: Checksum (md5) mismatch for xmlto-0.0.18.tar.bz2
>> > Error: Target org.macports.checksum returned: Unable to verify file
>> > checksums
>> > Error: Status 1 encountered during processing.
>> > david:~/Desktop/xmlto-0.0.18 mrivera$ sudo port sync
>> > david:~/Desktop/xmlto-0.0.18 mrivera$ sudo port install xmlto
>> > --->  Verifying checksum(s) for xmlto
>> > Error: Checksum (md5) mismatch for xmlto-0.0.18.tar.bz2
>> > Error: Target org.macports.checksum returned: Unable to verify file
>> > checksums
>> > Error: Status 1 encountered during processing.
>> >
>> >
>> > Any help is greatly appreciated.
>> > Thank you
>> > Marcos
>> >
>>
>> It works here, the fetch must have gone wrong and you ended up with a
>> corrupted tarball.
>> Try:
>>         sudo port clean --all xmlto
>>         sudo port install xmlto
>
> Possible.  Did not know that command.  I had been gone for some time.
> What I did to get around it was I did:
>
> Export EDITOR=vi
> Sudo port edit xmlto
>
> I then changed all the checksums to the destination checksum and it  
> seem to work, but not sure if that is safe to do?
>
> If I encounter this issue again I will try your way.

The FAQ explains why additional investigation is necessary before one  
can know whether that is safe to do:

http://trac.macosforge.org/projects/macports/wiki/ 
FAQ#IgetError:checksummd5/sha1/rmd160mismatchforport.WhatcanIdoaboutit

I can confirm, as N_Ox did, that the checksums currently listed in  
the portfile are accurate. You should "sudo port selfupdate" to  
ensure you have the latest MacPorts and the latest portfile  
definitions. You should forcibly uninstall xmlto and clean --all as  
N_Ox said. Then you should try installing again. This will ensure  
that you have the correct software installed.






More information about the macports-users mailing list