Re: Sha1sum Mismatch When Trying to Install GDIPlus :(

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Aug 26, 2010 at 1:28 AM, slevytam <wineforum-user@xxxxxxxxxx> wrote:
> Hi, below is a pic that shows the deletion of the file and the openssl dgst -sha1 command.  This really doesn't make sense to me!
>
> I do appreciate the help.  Sorry about bleeping the username but this installation was supposed to be part of a tutorial that will hopefully be published.
>
> [Image: http://i37.tinypic.com/2emcrbp.png ]
>

Your file is not corrupted. b9a84bc3de92863bba1f5eb1d598446567fbc646
is the correct hash.

To me it looks like some kind of bug with winetricks and its
verification of the sha1sum.

You may want to add a couple of echos in the following code:

# verify an sha1sum
verify_sha1sum() {
    wantsum=$1
    file=$2

    gotsum=`$SHA1SUM < "$file" | sed 's/ .*//'`
    if [ "$gotsum"x != "$wantsum"x ]
    then
       die "sha1sum mismatch!  Rename $file and try again."
    fi
}

to make it

# verify an sha1sum
verify_sha1sum() {
    wantsum=$1
    file=$2

    gotsum=`$SHA1SUM < "$file" | sed 's/ .*//'`

    echo "\"gotsum \"=\"$gotsum\""
    echo "\"wantsum\"=\"$wantsum\""
    if [ "$gotsum"x != "$wantsum"x ]
    then
       die "sha1sum mismatch!  Rename $file and try again."
    fi
}


And see what is going wrong.

Expected output is

windows@jmd0 ~ $ sh winetricks gdiplus
"gotsum "="b9a84bc3de92863bba1f5eb1d598446567fbc646"
"wantsum"="b9a84bc3de92863bba1f5eb1d598446567fbc646"
Executing wine /home/windows/.winetrickscache/WindowsXP-KB975337-x86-ENU.exe
/extract:c:\winetrickstmp /q

Again paths and usernames will be different.

I am done for now. It's 1:52 AM and I need my sleep..

John




[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux