LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-29-2015, 09:53 AM   #1
marcelp1
Member
 
Registered: Nov 2010
Distribution: Debian
Posts: 35

Rep: Reputation: 1
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
 
Old 09-29-2015, 09:12 PM   #2
robertdaleweir
Member
 
Registered: Jul 2006
Location: Canada
Distribution: Fedora
Posts: 93

Rep: Reputation: 11
Quote:
Originally Posted by marcelp1 View Post
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?

Last edited by robertdaleweir; 09-29-2015 at 09:18 PM.
 
Old 10-02-2015, 05:45 PM   #3
marcelp1
Member
 
Registered: Nov 2010
Distribution: Debian
Posts: 35

Original Poster
Rep: Reputation: 1
$ 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
 
Old 10-03-2015, 12:38 PM   #4
robertdaleweir
Member
 
Registered: Jul 2006
Location: Canada
Distribution: Fedora
Posts: 93

Rep: Reputation: 11
Quote:
Originally Posted by marcelp1 View Post
$ 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.
 
Old 10-03-2015, 01:05 PM   #5
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,627

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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!!!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[BUG] in seamonkey 2.9 slackbuild; does not create usr/include/seamonkey-2.9/nss -> . zerouno Slackware 5 05-02-2012 03:21 AM
Seamonkey and Seamonkey libs update for Slackware 13.1? Lufbery Slackware 7 08-05-2011 03:00 AM
Where have all the (Debian) checksums gone??? Completely Clueless Linux - Distributions 2 01-31-2009 11:57 AM
LXer: SeaMonkey 1.0.6 and SeaMonkey 1.1 Beta Released LXer Syndicated Linux News 0 11-09-2006 02:33 PM
Checksums Keeps Changing Nit911 Linux - Newbie 3 01-12-2006 07:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration