LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   sha512sum seamonkey-x.xx.checksums (https://www.linuxquestions.org/questions/linux-newbie-8/sha512sum-seamonkey-x-xx-checksums-4175554801/)

marcelp1 09-29-2015 09:53 AM

sha512sum seamonkey-x.xx.checksums
 
Trying to verify new version of seamonkey, while old fashioned method works:
cd ~/Downloads
wget --no-check-certificate https://archive.mozilla.org/pub/mozi...2.38.checksums
wget --no-check-certificate https://archive.mozilla.org/pub/mozi...y-2.38.tar.bz2
cat seamonkey-2.38.checksums
sha512sum seamonkey-2.38.tar.bz2

I can't get working any of these commands:
sha512sum -c seamonkey-2.38.checksums
sha512sum -c seamonkey-2.38.checksums 2> /dev/null | grep OK
sha512sum -c seamonkey-2.38.checksums 2> /dev/null | grep "sha512 48603839 linux-i686/en-GB/seamonkey-2.38.tar.bz2"

The checksum file is in strange format:
ed65d10430b90230d81862668167eeb22320c538a95cf255825cbd11ca33fc32b7608735ac57f36f2a39f7c2798fcc80f902 334942b7045330990b5be4d54f22 sha512 48603839 linux-i686/en-GB/seamonkey-2.38.tar.bz2
d7841d6b3e0167530eb9df03b679391d md5 48603839 linux-i686/en-GB/seamonkey-2.38.tar.bz2
78b157e891c7f2c47b559a392c418730a4e48929 sha1 48603839 linux-i686/en-GB/seamonkey-2.38.tar.bz2

robertdaleweir 09-29-2015 09:12 PM

Quote:

Originally Posted by marcelp1 (Post 5427386)
Trying to verify new version of seamonkey, while old fashioned method works:
cd ~/Downloads
wget --no-check-certificate https://archive.mozilla.org/pub/mozi...2.38.checksums
wget --no-check-certificate https://archive.mozilla.org/pub/mozi...y-2.38.tar.bz2
cat seamonkey-2.38.checksums
sha512sum seamonkey-2.38.tar.bz2

I can't get working any of these commands:
sha512sum -c seamonkey-2.38.checksums
sha512sum -c seamonkey-2.38.checksums 2> /dev/null | grep OK
sha512sum -c seamonkey-2.38.checksums 2> /dev/null | grep "sha512 48603839 linux-i686/en-GB/seamonkey-2.38.tar.bz2"

The checksum file is in strange format:
ed65d10430b90230d81862668167eeb22320c538a95cf255825cbd11ca33fc32b7608735ac57f36f2a39f7c2798fcc80f902 334942b7045330990b5be4d54f22 sha512 48603839 linux-i686/en-GB/seamonkey-2.38.tar.bz2
d7841d6b3e0167530eb9df03b679391d md5 48603839 linux-i686/en-GB/seamonkey-2.38.tar.bz2
78b157e891c7f2c47b559a392c418730a4e48929 sha1 48603839 linux-i686/en-GB/seamonkey-2.38.tar.bz2

Hi marcelp1
Last first. I do not see that the checksum file is in a strange format. The first line
Quote:

ed65d10430b90230d81862668167eeb22320c538a95cf255825cbd11ca33fc32b7608735ac57f36f2a39f7c2798fcc80f902 334942b7045330990b5be4d54f22 sha512 48603839 linux-i686/en-GB/seamonkey-2.38.tar.bz2
is a sha512 encryption.
Quote:

d7841d6b3e0167530eb9df03b679391d md5 48603839 linux-i686/en-GB/seamonkey-2.38.tar.bz2
is a md5 digest of the file.
Quote:

78b157e891c7f2c47b559a392c418730a4e48929 sha1 48603839 linux-i686/en-GB/seamonkey-2.38.tar.bz2
is the sha1 encryption.
All seems fine with these values (structure wise).
On the
Quote:

I can't get working any of these commands:
sha512sum -c seamonkey-2.38.checksums
what exactly does it give as an error, or what happens?

marcelp1 10-02-2015 05:45 PM

$ ls -ila
276420 -rw-r--r-- 1 marcel marcel 1647 Sep 24 09:38 seamonkey-2.38.checksums
276421 -rw-r--r-- 1 marcel marcel 48603839 Sep 24 09:38 seamonkey-2.38.tar.bz2

$ sha512sum -c seamonkey-2.38.checksums
sha512sum: sha512 48603839 linux-i686/en-GB/seamonkey-2.38.tar.bz2: No such file or directory
sha512 48603839 linux-i686/en-GB/seamonkey-2.38.tar.bz2: FAILED open or read
sha512sum: sha512 48559445 update/linux-i686/en-GB/seamonkey-2.38.complete.mar: No such file or directory
sha512 48559445 update/linux-i686/en-GB/seamonkey-2.38.complete.mar: FAILED open or read
sha512sum: sha512 803791 linux-i686/xpi/en-GB.xpi: No such file or directory
sha512 803791 linux-i686/xpi/en-GB.xpi: FAILED open or read
sha512sum: sha512 43838 host/bin/mar: No such file or directory
sha512 43838 host/bin/mar: FAILED open or read
sha512sum: sha512 23206 host/bin/mbsdiff: No such file or directory
sha512 23206 host/bin/mbsdiff: FAILED open or read
sha512sum: WARNING: 10 lines are improperly formatted
sha512sum: WARNING: 5 listed files could not be read

$ sha512sum -c seamonkey-2.38.checksums 2> /dev/null | grep OK

$ sha512sum -c seamonkey-2.38.checksums 2> /dev/null | grep "seamonkey-2.38.tar.bz2"
sha512 48603839 linux-i686/en-GB/seamonkey-2.38.tar.bz2: FAILED open or read

$ sha512sum -c seamonkey-2.38.checksums 2> /dev/null | grep "linux-i686/en-GB/seamonkey-2.38.tar.bz2"
sha512 48603839 linux-i686/en-GB/seamonkey-2.38.tar.bz2: FAILED open or read

$ sha512sum -c seamonkey-2.38.checksums 2> /dev/null | grep "sha512 48603839 linux-i686/en-GB/seamonkey-2.38.tar.bz2"
sha512 48603839 linux-i686/en-GB/seamonkey-2.38.tar.bz2: FAILED open or read



While the 64bit version works:
wget https://archive.mozilla.org/pub/mozi...-x86_64.MD5SUM
wget https://archive.mozilla.org/pub/mozi...-x86_64.README
wget https://archive.mozilla.org/pub/mozi...x86_64.SHA1SUM
wget https://archive.mozilla.org/pub/mozi...x86_64.tar.bz2
sha1sum -c seamonkey-2.38.en-US.linux-x86_64.SHA1SUM
md5sum -c seamonkey-2.38.en-US.linux-x86_64.MD5SUM

robertdaleweir 10-03-2015 12:38 PM

Quote:

Originally Posted by marcelp1 (Post 5429064)
$ ls -ila
276420 -rw-r--r-- 1 marcel marcel 1647 Sep 24 09:38 seamonkey-2.38.checksums
276421 -rw-r--r-- 1 marcel marcel 48603839 Sep 24 09:38 seamonkey-2.38.tar.bz2

$ sha512sum -c seamonkey-2.38.checksums
sha512sum: sha512 48603839 linux-i686/en-GB/seamonkey-2.38.tar.bz2: No such file or directory
sha512 48603839 linux-i686/en-GB/seamonkey-2.38.tar.bz2: FAILED open or read
sha512sum: sha512 48559445 update/linux-i686/en-GB/seamonkey-2.38.complete.mar: No such file or directory
sha512 48559445 update/linux-i686/en-GB/seamonkey-2.38.complete.mar: FAILED open or read
sha512sum: sha512 803791 linux-i686/xpi/en-GB.xpi: No such file or directory
sha512 803791 linux-i686/xpi/en-GB.xpi: FAILED open or read
sha512sum: sha512 43838 host/bin/mar: No such file or directory
sha512 43838 host/bin/mar: FAILED open or read
sha512sum: sha512 23206 host/bin/mbsdiff: No such file or directory
sha512 23206 host/bin/mbsdiff: FAILED open or read
sha512sum: WARNING: 10 lines are improperly formatted
sha512sum: WARNING: 5 listed files could not be read

$ sha512sum -c seamonkey-2.38.checksums 2> /dev/null | grep OK

$ sha512sum -c seamonkey-2.38.checksums 2> /dev/null | grep "seamonkey-2.38.tar.bz2"
sha512 48603839 linux-i686/en-GB/seamonkey-2.38.tar.bz2: FAILED open or read

$ sha512sum -c seamonkey-2.38.checksums 2> /dev/null | grep "linux-i686/en-GB/seamonkey-2.38.tar.bz2"
sha512 48603839 linux-i686/en-GB/seamonkey-2.38.tar.bz2: FAILED open or read

$ sha512sum -c seamonkey-2.38.checksums 2> /dev/null | grep "sha512 48603839 linux-i686/en-GB/seamonkey-2.38.tar.bz2"
sha512 48603839 linux-i686/en-GB/seamonkey-2.38.tar.bz2: FAILED open or read



While the 64bit version works:
wget https://archive.mozilla.org/pub/mozi...-x86_64.MD5SUM
wget https://archive.mozilla.org/pub/mozi...-x86_64.README
wget https://archive.mozilla.org/pub/mozi...x86_64.SHA1SUM
wget https://archive.mozilla.org/pub/mozi...x86_64.tar.bz2
sha1sum -c seamonkey-2.38.en-US.linux-x86_64.SHA1SUM
md5sum -c seamonkey-2.38.en-US.linux-x86_64.MD5SUM

You have to be in the subdirectory where the files are and have the checksum file also in that subdirectory. It appears that it cannot find the actual files when you are running the shasums.

John VV 10-03-2015 01:05 PM

i take it you did not READ what you "copy/pasted"

do not just blindly "copy / past" things!!!

Quote:

"linux-i686/en-GB/seamonkey-2.38.tar.bz2"
this is the folder layout ON THE MOZILLA SERVER!!!!

you did not make a folder called "linux-i686" nor did you make a folder called "en-GB" in that folder !!!


likely you downloaded seamonkey-2.38.tar.bz2 to " Downloades "

so please READ and do not just blindly "copy / past" things!!!


All times are GMT -5. The time now is 06:15 AM.