public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] md5sum -c
@ 2014-03-14  6:34 Guido Budack
  2014-03-14  9:16 ` Neil Bothwick
  2014-03-15 11:02 ` Mick
  0 siblings, 2 replies; 4+ messages in thread
From: Guido Budack @ 2014-03-14  6:34 UTC (permalink / raw
  To: gentoo-user

Here the result with option-c:

md5sum -c livedvd-amd64-multilib-20121221.iso
md5sum: DVD-hybrid-amd64-blue.png: No such file or directory
DVD-hybrid-amd64-blue.png: FAILED open or read
md5sum: DVD-hybrid-amd64-purple.png: No such file or directory
DVD-hybrid-amd64-purple.png: FAILED open or read
md5sum: DVD-hybrid-x86-amd64-blue.png: No such file or directory
DVD-hybrid-x86-amd64-blue.png: FAILED open or read
md5sum: DVD-hybrid-x86-amd64-purple.png: No such file or directory
DVD-hybrid-x86-amd64-purple.png: FAILED open or read
md5sum: FINAL_4x3_gentoo_ten_Blue-1024-768-final.png: No such file or directory
FINAL_4x3_gentoo_ten_Blue-1024-768-final.png: FAILED open or read
md5sum: FINAL_4x3_gentoo_ten_Purple-1152-864.png: No such file or directory
FINAL_4x3_gentoo_ten_Purple-1152-864.png: FAILED open or read
md5sum: FINAL_4x3_gentoo_ten_Purple-1280-960-final.png: No such file or directory
FINAL_4x3_gentoo_ten_Purple-1280-960-final.png: FAILED open or read
md5sum: FINAL_4x3_gentoo_ten_Purple-1024-768-final.png: No such file or directory
FINAL_4x3_gentoo_ten_Purple-1024-768-final.png: FAILED open or read
md5sum: FINAL_4x3_gentoo_ten_Blue-1280-960-final.png: No such file or directory
FINAL_4x3_gentoo_ten_Blue-1280-960-final.png: FAILED open or read
md5sum: FINAL_4x3_gentoo_ten_Blue-1152-864.png: No such file or directory
FINAL_4x3_gentoo_ten_Blue-1152-864.png: FAILED open or read
md5sum: FINAL_4x3_gentoo_ten_Blue-800-600.png: No such file or directory
FINAL_4x3_gentoo_ten_Blue-800-600.png: FAILED open or read
md5sum: FINAL_4x3_gentoo_ten_Purple-800-600.png: No such file or directory
FINAL_4x3_gentoo_ten_Purple-800-600.png: FAILED open or read
md5sum: FINAL_widescreen-Blue-1920-1200-final.png: No such file or directory
FINAL_widescreen-Blue-1920-1200-final.png: FAILED open or read
md5sum: FINAL_widescreen-Blue-1440-900-final.png: No such file or directory
FINAL_widescreen-Blue-1440-900-final.png: FAILED open or read
md5sum: FINAL_widescreen-Blue-1920-1080-final.png: No such file or directory
FINAL_widescreen-Blue-1920-1080-final.png: FAILED open or read
md5sum: FINAL_widescreen-Blue-1600-900-final.png: No such file or directory
FINAL_widescreen-Blue-1600-900-final.png: FAILED open or read
md5sum: FINAL_widescreen-Blue-1280-800-final.png: No such file or directory
FINAL_widescreen-Blue-1280-800-final.png: FAILED open or read
md5sum: FINAL_widescreen-Blue-1280-720-final.png: No such file or directory
FINAL_widescreen-Blue-1280-720-final.png: FAILED open or read
md5sum: FINAL_widescreen-Purple-1920-1080-final.png: No such file or directory
FINAL_widescreen-Purple-1920-1080-final.png: FAILED open or read
md5sum: FINAL_widescreen-Purple-1280-720-final.png: No such file or directory
FINAL_widescreen-Purple-1280-720-final.png: FAILED open or read
md5sum: FINAL_widescreen-Purple-1280-800-final.png: No such file or directory
FINAL_widescreen-Purple-1280-800-final.png: FAILED open or read
md5sum: FINAL_widescreen-Purple-1920-1200-final.png: No such file or directory
FINAL_widescreen-Purple-1920-1200-final.png: FAILED open or read
md5sum: FINAL_widescreen-Purple-1440-900-final.png: No such file or directory
FINAL_widescreen-Purple-1440-900-final.png: FAILED open or read
md5sum: FINAL_widescreen-Purple-1600-900-final.png: No such file or directory
FINAL_widescreen-Purple-1600-900-final.png: FAILED open or read
md5sum: gentoo-flowers-1024.png: No such file or directory
gentoo-flowers-1024.png: FAILED open or read
md5sum: gentoo-flowers-1152.png: No such file or directory
gentoo-flowers-1152.png: FAILED open or read
md5sum: gentoo-flowers-1280.png: No such file or directory
gentoo-flowers-1280.png: FAILED open or read
md5sum: gentoo-flowers-800.png: No such file or directory
gentoo-flowers-800.png: FAILED open or read
md5sum: Jewel-Back-blue.png: No such file or directory
Jewel-Back-blue.png: FAILED open or read
md5sum: Jewel-Back-purple.png: No such file or directory
Jewel-Back-purple.png: FAILED open or read
md5sum: Jewel-Front-blue.png: No such file or directory
Jewel-Front-blue.png: FAILED open or read
md5sum: Jewel-Front-purple.png: No such file or directory
Jewel-Front-purple.png: FAILED open or read
md5sum: LICENSE: No such file or directory
LICENSE: FAILED open or read
md5sum: WARNING: 15504459 lines are improperly formatted
md5sum: WARNING: 33 listed files could not be read


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] md5sum -c
  2014-03-14  6:34 [gentoo-user] md5sum -c Guido Budack
@ 2014-03-14  9:16 ` Neil Bothwick
  2014-03-15 11:02 ` Mick
  1 sibling, 0 replies; 4+ messages in thread
From: Neil Bothwick @ 2014-03-14  9:16 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 527 bytes --]

On Fri, 14 Mar 2014 14:34:25 +0800, Guido Budack wrote:

> Here the result with option-c:
 
> md5sum -c livedvd-amd64-multilib-20121221.iso
> md5sum: DVD-hybrid-amd64-blue.png: No such file or directory
> DVD-hybrid-amd64-blue.png: FAILED open or read
[snip]
> md5sum: WARNING: 15504459 lines are improperly formatted
> md5sum: WARNING: 33 listed files could not be read

You run md5sum -c on the MD5SUM file, not the ISO image.


-- 
Neil Bothwick

Better to understand a little than to misunderstand a lot.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] md5sum -c
  2014-03-14  6:34 [gentoo-user] md5sum -c Guido Budack
  2014-03-14  9:16 ` Neil Bothwick
@ 2014-03-15 11:02 ` Mick
  2014-03-15 12:28   ` Neil Bothwick
  1 sibling, 1 reply; 4+ messages in thread
From: Mick @ 2014-03-15 11:02 UTC (permalink / raw
  To: gentoo-user; +Cc: Guido Budack

[-- Attachment #1: Type: Text/Plain, Size: 7058 bytes --]

On Friday 14 Mar 2014 06:34:25 Guido Budack wrote:
> Here the result with option-c:
> 
> md5sum -c livedvd-amd64-multilib-20121221.iso
> md5sum: DVD-hybrid-amd64-blue.png: No such file or directory
> DVD-hybrid-amd64-blue.png: FAILED open or read
> md5sum: DVD-hybrid-amd64-purple.png: No such file or directory
> DVD-hybrid-amd64-purple.png: FAILED open or read
> md5sum: DVD-hybrid-x86-amd64-blue.png: No such file or directory
> DVD-hybrid-x86-amd64-blue.png: FAILED open or read
> md5sum: DVD-hybrid-x86-amd64-purple.png: No such file or directory
> DVD-hybrid-x86-amd64-purple.png: FAILED open or read
> md5sum: FINAL_4x3_gentoo_ten_Blue-1024-768-final.png: No such file or
> directory FINAL_4x3_gentoo_ten_Blue-1024-768-final.png: FAILED open or
> read
> md5sum: FINAL_4x3_gentoo_ten_Purple-1152-864.png: No such file or directory
> FINAL_4x3_gentoo_ten_Purple-1152-864.png: FAILED open or read
> md5sum: FINAL_4x3_gentoo_ten_Purple-1280-960-final.png: No such file or
> directory FINAL_4x3_gentoo_ten_Purple-1280-960-final.png: FAILED open or
> read md5sum: FINAL_4x3_gentoo_ten_Purple-1024-768-final.png: No such file
> or directory FINAL_4x3_gentoo_ten_Purple-1024-768-final.png: FAILED open
> or read md5sum: FINAL_4x3_gentoo_ten_Blue-1280-960-final.png: No such file
> or directory FINAL_4x3_gentoo_ten_Blue-1280-960-final.png: FAILED open or
> read
> md5sum: FINAL_4x3_gentoo_ten_Blue-1152-864.png: No such file or directory
> FINAL_4x3_gentoo_ten_Blue-1152-864.png: FAILED open or read
> md5sum: FINAL_4x3_gentoo_ten_Blue-800-600.png: No such file or directory
> FINAL_4x3_gentoo_ten_Blue-800-600.png: FAILED open or read
> md5sum: FINAL_4x3_gentoo_ten_Purple-800-600.png: No such file or directory
> FINAL_4x3_gentoo_ten_Purple-800-600.png: FAILED open or read
> md5sum: FINAL_widescreen-Blue-1920-1200-final.png: No such file or
> directory FINAL_widescreen-Blue-1920-1200-final.png: FAILED open or read
> md5sum: FINAL_widescreen-Blue-1440-900-final.png: No such file or directory
> FINAL_widescreen-Blue-1440-900-final.png: FAILED open or read
> md5sum: FINAL_widescreen-Blue-1920-1080-final.png: No such file or
> directory FINAL_widescreen-Blue-1920-1080-final.png: FAILED open or read
> md5sum: FINAL_widescreen-Blue-1600-900-final.png: No such file or directory
> FINAL_widescreen-Blue-1600-900-final.png: FAILED open or read
> md5sum: FINAL_widescreen-Blue-1280-800-final.png: No such file or directory
> FINAL_widescreen-Blue-1280-800-final.png: FAILED open or read
> md5sum: FINAL_widescreen-Blue-1280-720-final.png: No such file or directory
> FINAL_widescreen-Blue-1280-720-final.png: FAILED open or read
> md5sum: FINAL_widescreen-Purple-1920-1080-final.png: No such file or
> directory FINAL_widescreen-Purple-1920-1080-final.png: FAILED open or read
> md5sum: FINAL_widescreen-Purple-1280-720-final.png: No such file or
> directory FINAL_widescreen-Purple-1280-720-final.png: FAILED open or read
> md5sum: FINAL_widescreen-Purple-1280-800-final.png: No such file or
> directory FINAL_widescreen-Purple-1280-800-final.png: FAILED open or read
> md5sum: FINAL_widescreen-Purple-1920-1200-final.png: No such file or
> directory FINAL_widescreen-Purple-1920-1200-final.png: FAILED open or read
> md5sum: FINAL_widescreen-Purple-1440-900-final.png: No such file or
> directory FINAL_widescreen-Purple-1440-900-final.png: FAILED open or read
> md5sum: FINAL_widescreen-Purple-1600-900-final.png: No such file or
> directory FINAL_widescreen-Purple-1600-900-final.png: FAILED open or read
> md5sum: gentoo-flowers-1024.png: No such file or directory
> gentoo-flowers-1024.png: FAILED open or read
> md5sum: gentoo-flowers-1152.png: No such file or directory
> gentoo-flowers-1152.png: FAILED open or read
> md5sum: gentoo-flowers-1280.png: No such file or directory
> gentoo-flowers-1280.png: FAILED open or read
> md5sum: gentoo-flowers-800.png: No such file or directory
> gentoo-flowers-800.png: FAILED open or read
> md5sum: Jewel-Back-blue.png: No such file or directory
> Jewel-Back-blue.png: FAILED open or read
> md5sum: Jewel-Back-purple.png: No such file or directory
> Jewel-Back-purple.png: FAILED open or read
> md5sum: Jewel-Front-blue.png: No such file or directory
> Jewel-Front-blue.png: FAILED open or read
> md5sum: Jewel-Front-purple.png: No such file or directory
> Jewel-Front-purple.png: FAILED open or read
> md5sum: LICENSE: No such file or directory
> LICENSE: FAILED open or read
> md5sum: WARNING: 15504459 lines are improperly formatted
> md5sum: WARNING: 33 listed files could not be read

Guido, the above message shows that the md5sum command was NOT performed on 
the iso hash file, but on a bunch of .png files.  


In case you are not sure how to go about this, try the following.

1. Make sure that the iso file:

  livedvd-amd64-multilib-20121221.iso

and its hash file:

  livedvd-amd64-multilib-20121221.iso.DIGESTS

are both saved in the same directory.  'cd' into the same directory.


Depending on how paranoid you want to be with regards to checking the 
integrity of the downloads, you can also get the gpg signature of the file 
with the hashes and check that it has not been tampered with.  First fetch the 
gentoo gpg keys.  Use the KeyID of the (non-expired) keys from here:

  http://www.gentoo.org/proj/en/releng/index.xml

and run 'gpg --keyserver subkeys.pgp.net --recv-keys <key id>'.  For example:

gpg --keyserver subkeys.pgp.net --recv-keys 0xDB6B8C1F96D8BF6D


Download the signed file of the hashes:

 livedvd-amd64-multilib-20121221.iso.DIGESTS.asc


Then check the integrity of it:

 gpg --verify livedvd-amd64-multilib-20121221.iso.DIGESTS.asc

You should get something like:

[snip ...]

gpg: Good signature from "Gentoo Linux Release Engineering (Gentoo Linux 
Release Signing Key) <releng@gentoo.org>"
gpg: WARNING: This key is not certified with a trusted signature!
gpg:          There is no indication that the signature belongs to the owner.
Primary key fingerprint: D99E AC73 79A8 50BC E47D  A5F2 9E64 38C8 1707 2058
gpg: textmode signature, digest algorithm SHA1

Ignore the warning: "WARNING: This key is not certified with a trusted 
signature!" which is correct, unless you have manually edited the trust of 
this gpg key in your keyring.  The line above it tells you that the signature 
is good and therefore you can trust the hashes in there.

Now, running:

 md5sum -c livedvd-amd64-multilib-20121221.iso.DIGESTS.asc

should show:

livedvd-amd64-multilib-20121221.iso: OK

for the iso image.  Any files listed in the DIGESTS file which you have not 
downloaded or saved in the same directory, will be shown as FAILED, e.g.

md5sum: livedvd-amd64-multilib-20121221.iso.CREDITS: No such file or directory
livedvd-amd64-multilib-20121221.iso.CREDITS: FAILED open or read

This is all explained here:

 http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=1&chap=2

Hope this helps. 

-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] md5sum -c
  2014-03-15 11:02 ` Mick
@ 2014-03-15 12:28   ` Neil Bothwick
  0 siblings, 0 replies; 4+ messages in thread
From: Neil Bothwick @ 2014-03-15 12:28 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 524 bytes --]

On Sat, 15 Mar 2014 11:02:53 +0000, Mick wrote:

> Guido, the above message shows that the md5sum command was NOT
> performed on the iso hash file, but on a bunch of .png files.  

Actually, he did md5sum -c on the iso file, not the checksum file. Those
png file references come from data in the ISO that happened to look like
valid MD5 lines.

I pointed this out a while ago but Guido has still not posted back the
results of the correct command.


-- 
Neil Bothwick

Indecision is the key to flexibility.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-03-15 12:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-14  6:34 [gentoo-user] md5sum -c Guido Budack
2014-03-14  9:16 ` Neil Bothwick
2014-03-15 11:02 ` Mick
2014-03-15 12:28   ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox