diff --git a/README.md b/README.md index 525d80245b..a3f2b64f1b 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ If your issue persists, search for it before opening a new one. If you find an o * A cask fails to install: * [`curl` error](doc/reporting_bugs/a_cask_fails_to_install.md#curl-error) * [`Permission denied` error](doc/reporting_bugs/a_cask_fails_to_install.md#permission-denied-error) - * [`sha256 mismatch` error](doc/reporting_bugs/a_cask_fails_to_install.md#sha256-mismatch-error) + * [`Checksum does not match` error](doc/reporting_bugs/a_cask_fails_to_install.md#checksum-does-not-match-error) * [`source is not there` error](doc/reporting_bugs/a_cask_fails_to_install.md#source-is-not-there-error) * [`wrong number of arguments` error](doc/reporting_bugs/a_cask_fails_to_install.md#wrong-number-of-arguments-error) * [Unlisted reason](doc/reporting_bugs/a_cask_fails_to_install.md#unlisted-reason) diff --git a/doc/reporting_bugs/a_cask_fails_to_install.md b/doc/reporting_bugs/a_cask_fails_to_install.md index 642f63367e..eb64766c1e 100644 --- a/doc/reporting_bugs/a_cask_fails_to_install.md +++ b/doc/reporting_bugs/a_cask_fails_to_install.md @@ -38,19 +38,20 @@ the problem isn’t with Homebrew-Cask itself, but some permissions on your syst --- -#### `sha256 mismatch` error +#### `Checksum does not match` error If the error output includes something like ``` -Error: sha256 mismatch +Error: Checksum for Cask 'your-cask' does not match. + Expected: 3dbc6c2205af35db5370c7642b9a2b833668880569b9c64a7f5a670bf9911130 Actual: 526d747d99a93b760f7965e25a57ed61de9b93d566a0ba0c5f1c7e83719b20fd ``` either your download was incomplete/corrupt or the cask is outdated. -[Continue to the fix](sha256_mismatch_error_fix_icomplete.md) +[Continue to the fix](checksum_does_not_match_error_fix_icomplete.md) --- diff --git a/doc/reporting_bugs/checksum_does_not_match_error_fix_icomplete.md b/doc/reporting_bugs/checksum_does_not_match_error_fix_icomplete.md new file mode 100644 index 0000000000..8fdc89877e --- /dev/null +++ b/doc/reporting_bugs/checksum_does_not_match_error_fix_icomplete.md @@ -0,0 +1,5 @@ +[Go back](a_cask_fails_to_install.md#checksum-does-not-match-error) + +First, let's see if the problem was with your download. Delete the downloaded file (its location will be pointed out right under the `Actual` shasum line) and try again. + +If the problem persists, [the cask must be outdated](checksum_does_not_match_error_fix_outdated.md). diff --git a/doc/reporting_bugs/sha256_mismatch_error_fix_outdated.md b/doc/reporting_bugs/checksum_does_not_match_error_fix_outdated.md similarity index 95% rename from doc/reporting_bugs/sha256_mismatch_error_fix_outdated.md rename to doc/reporting_bugs/checksum_does_not_match_error_fix_outdated.md index 7c6f65c6a5..e8129be7c0 100644 --- a/doc/reporting_bugs/sha256_mismatch_error_fix_outdated.md +++ b/doc/reporting_bugs/checksum_does_not_match_error_fix_outdated.md @@ -1,4 +1,4 @@ -[Go back](sha256_mismatch_error_fix_icomplete.md) +[Go back](checksum_does_not_match_error_fix_icomplete.md) Let's bring the cask up to date. It’ll likely need a new version, but it’s possible the version has remained the same (happens occasionally when the vendor updates the app in place). diff --git a/doc/reporting_bugs/sha256_mismatch_error_fix_icomplete.md b/doc/reporting_bugs/sha256_mismatch_error_fix_icomplete.md deleted file mode 100644 index 361f019649..0000000000 --- a/doc/reporting_bugs/sha256_mismatch_error_fix_icomplete.md +++ /dev/null @@ -1,5 +0,0 @@ -[Go back](a_cask_fails_to_install.md#sha256-mismatch-error) - -First, let's see if the problem was with your download. Delete the downloaded file (its location will be pointed out right under the `Actual` shasum line) and try again. - -If the problem persists, [the cask must be outdated](sha256_mismatch_error_fix_outdated.md).