Rootserver Sponsor

webtropia"

Donations

Please support your operating system's further development:

donate"

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
alexkOffline
Post subject: md5sum validation in Manual  PostPosted: 04.03.2012, 18:33



Joined: 2010-10-01
Posts: 288

Status: Offline
      Aptosid manual wrote:
Download the following files from the mirror:

MD5SUM
MD5SUM.gpg
SHA256SUM
SHA256SUM.gpg

In a terminal:

$ md5sum aptosid.iso

If they don't match, you will get an error:

"aptosid.iso: Error
md5sum: Warning: calculated checksum does not match!"

If the downloaded file is correct, the program ends without a message.

The manual seems incorrect about this, in multiple languages. The md5sum or sha256sum commands issued like this will only output the checksum and not show if it's correct or not:
      Code:
$ md5sum aptosid-2011-03-ponos-kde-lite-amd64-201112312100.iso
ab7b8287ace979794ae3fb97ce6972aa  aptosid-2011-03-ponos-kde-lite-amd64-201112312100.iso
$ sha256sum aptosid-2011-03-ponos-kde-lite-amd64-201112312100.iso
ab80523b2923535ca78f9e5322c77abec7bc262ce1f49e32208459f9d6d486b7  aptosid-2011-03-ponos-kde-lite-amd64-201112312100.iso

The command that I know of to compare the checksums is this:
      Code:
md5sum -c MD5SUM
md5sum: aptosid-2011-03-ponos-kde-full-i386-amd64-201112312100.iso: No such file or directory
aptosid-2011-03-ponos-kde-full-i386-amd64-201112312100.iso: FAILED open or read
aptosid-2011-03-ponos-kde-lite-amd64-201112312100.iso: OK
...

I came across this again after I just had a bad checksum on this iso and had to download it again.
 
 View user's profile Send private message Yahoo Messenger  
Reply with quote Back to top
x-un-i
Post subject: RE: md5sum validation in Manual  PostPosted: 05.03.2012, 17:20
Team Member


Joined: 2010-08-26
Posts: 170

thks for pointing it

_________________
Why do strong arms fatigue themselves with frivolous dumbbells?
To dig a vineyard is worthier exercise for men.
Marcus Valerius Martialis, römischer Satiriker und Epigrammdichter

Será que o diabo perdeu a virgindade?
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio