By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,586 Members | 2,445 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,586 IT Pros & Developers. It's quick & easy.

Checksums question.

P: n/a
When I download fix packs, there are also corresponding checksum files
(e.g., FP7_MI00086.cksum) that I download. But I do not know how to use them.

I tried md5sum, but it gives checksum that does not match:

$ cat FP7_MI00086.cksum
/ps/products/db2/fixes/english-us/db2linuxIA32v8/fixpak/FP7_MI00086/FP7_MI00086.tar
cksum:2567030317 md5:ee21d401b9ba27eb57df6f3cc8e767ca
$ md5sum FP7_MI00086.tar
ec1e7d5fafd090d3e2c31ee9e5a456d9 FP7_MI00086.tar

What is the proper way for me to verify the checksum? I have tried the
extreme method of untarring the file and installing it. The results seem
to work.

--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 241939.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 10:40:00 up 8 days, 21:44, 3 users, load average: 4.19, 4.19, 4.18

Nov 12 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Try:
cksum <filename>

Cheers,

"Jean-David Beyer" <jd*****@exit109.com> wrote in message
news:10*************@corp.supernews.com...
When I download fix packs, there are also corresponding checksum files
(e.g., FP7_MI00086.cksum) that I download. But I do not know how to use them.
I tried md5sum, but it gives checksum that does not match:

$ cat FP7_MI00086.cksum
/ps/products/db2/fixes/english-us/db2linuxIA32v8/fixpak/FP7_MI00086/FP7_MI00
086.tar cksum:2567030317 md5:ee21d401b9ba27eb57df6f3cc8e767ca
$ md5sum FP7_MI00086.tar
ec1e7d5fafd090d3e2c31ee9e5a456d9 FP7_MI00086.tar

What is the proper way for me to verify the checksum? I have tried the
extreme method of untarring the file and installing it. The results seem
to work.

--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 241939.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 10:40:00 up 8 days, 21:44, 3 users, load average: 4.19, 4.19, 4.18

Nov 12 '05 #2

P: n/a
Fred Nurk wrote:
Try:
cksum <filename>
Well, that is a little better:

$ cksum FP7_MI00086.tar
2567030317 720762880 FP7_MI00086.tar
$ md5sum FP7_MI00086.tar
ec1e7d5fafd090d3e2c31ee9e5a456d9 FP7_MI00086.tar
$ cat FP7_MI00086.cksum
/ps/products/db2/fixes/english-us/db2linuxIA32v8/fixpak/FP7_MI00086/FP7_MI00086.tar
cksum:2567030317 md5:ee21d401b9ba27eb57df6f3cc8e767ca

So sum does not work, but cksum does. md5sum does not get the right md5
checksum. I am surprised that whatever IBM uses to get the md5 checksum
gives different results from the md5sum program.

Cheers,

"Jean-David Beyer" <jd*****@exit109.com> wrote in message
news:10*************@corp.supernews.com...
When I download fix packs, there are also corresponding checksum files
(e.g., FP7_MI00086.cksum) that I download. But I do not know how to use


them.
I tried md5sum, but it gives checksum that does not match:

$ cat FP7_MI00086.cksum


/ps/products/db2/fixes/english-us/db2linuxIA32v8/fixpak/FP7_MI00086/FP7_MI00
086.tar
cksum:2567030317 md5:ee21d401b9ba27eb57df6f3cc8e767ca
$ md5sum FP7_MI00086.tar
ec1e7d5fafd090d3e2c31ee9e5a456d9 FP7_MI00086.tar

What is the proper way for me to verify the checksum? I have tried the
extreme method of untarring the file and installing it. The results seem
to work.

--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 241939.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 10:40:00 up 8 days, 21:44, 3 users, load average: 4.19, 4.19, 4.18


--
.~. Jean-David Beyer Registered Linux User 85642.
/V\ Registered Machine 241939.
/( )\ Shrewsbury, New Jersey http://counter.li.org
^^-^^ 20:10:00 up 9 days, 7:14, 3 users, load average: 4.20, 4.18, 4.12

Nov 12 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.