Bug 1297453 - Checksum verification procedure for Mac is wrong
Summary: Checksum verification procedure for Mac is wrong
Keywords:
Status: NEW
Alias: None
Product: Fedora Documentation
Classification: Fedora
Component: install-guide
Version: devel
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Brian Exelbierd
QA Contact: Fedora Docs QA
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-11 14:48 UTC by Petr Bokoc
Modified: 2016-01-11 17:25 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description Petr Bokoc 2016-01-11 14:48:09 UTC
Someone reported that the checksum verification procedure for Mac doesn't work the way it's described in the Installation Guide. Here's what they said:

I made a live-cd on OS X.
For the checksum verify, from: https://docs.fedoraproject.org/en-US/Fedora/23/html/Installation_Guide/sect-verifying-nix.html :

quote
For OSX:
$ shasum -a 256 -c *CHECKSUM
/quote

That gives on my OS X 10.11.1:
$ shasum -a 256 -c *-CHECKSUM
shasum: Fedora-Workstation-23-x86_64-CHECKSUM: no properly formatted SHA1 checksum lines found

Quick Google: https://ask.fedoraproject.org/en/question/74873/cant-verify-the-image-checksum-fedora-22/?answer=78954#post-id-78954
quote
The problem is that the format of the *-CHECKSUM file is not recognized by shasum. I solved this using the following one-liner:
$ grep '^SHA256' *-CHECKSUM | awk -F '[()=]' '{ print $4 "  " $2 }' | shasum -a 256 -c
/quote

All credit goes to user Fredy for the fix. I confirm it works.
$ grep '^SHA256' *-CHECKSUM | awk -F '[()=]' '{ print $4 "  " $2 }' | shasum -a 256 -c
shasum: Fedora-Workstation-netinst-x86_64-23.iso:
Fedora-Workstation-netinst-x86_64-23.iso: FAILED open or read
Fedora-Live-Workstation-x86_64-23-10.iso: OK
shasum: WARNING: 1 listed file could not be read

(I just had the live CD downloaded)

That's it!
Otherwise instructions are very clear on the process, I used the command line to build my USB boot stick. That step does not prevent you from installing, but having a verified checksum is always better.

Comment 1 Brian (bex) Exelbierd 2016-01-11 14:51:54 UTC
Duplicates part of #1282228


Note You need to log in before you can comment on or make changes to this bug.