473,395 Members | 1,530 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Checksums question.

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
2 2125
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Stevey | last post by:
I have the following XML file... <?xml version="1.0"?> <animals> <animal> <name>Tiger</name> <questions> <question index="0">true</question> <question index="1">true</question> </questions>
1
by: Rob | last post by:
Good afternoon, Is it possible to have JavaScript do a checksum of a file a user has chosen to upload via a multipart html form? I'd like have JavaScript do a checksum on the client side,...
7
by: nospam | last post by:
Ok, 3rd or is it the 4th time I have asked this question on Partial Types, so, since it seems to me that Partial Types is still in the design or development stages at Microsoft, I am going to ask...
0
by: greg | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This is a PGP-signed copy of the checksums for PostgreSQL version 7.4. The latest copy of the checksums for this and other versions, as well...
3
by: Ekqvist Marko | last post by:
Hi, I have one Access database table including questions and answers. Now I need to give answer id automatically to questionID column. But I don't know how it is best (fastest) to do? table...
10
by: glenn | last post by:
I am use to programming in php and the way session and post vars are past from fields on one page through to the post page automatically where I can get to their values easily to write to a...
0
by: Locke Nash Cole | last post by:
I've seen a lot of example code on doing MD5 checksums, all of which seems to take in chunk by chunk of data until EOF to calculate the MD5 checksum, this method seems slow, or I'm not using an...
0
by: Greg Sabino Mullane | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 This is a PGP-signed copy of the checksums for following PostgreSQL versions: 7.4.5 7.4.4 7.3.7
10
by: Rider | last post by:
Hi, simple(?) question about asp.net configuration.. I've installed ASP.NET 2.0 QuickStart Sample successfully. But, When I'm first start application the follow message shown. ========= Server...
1
Plater
by: Plater | last post by:
Useing a packet sniffer I have been watching some tcpip traffic between my computer and my embedded device I am developing on (the embeded device runs wince 5.0) and I have been noticing that a LOT...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.