docs: sha-mismatch to checksum-does-not-match (#39615)

This commit is contained in:
Vítor Galvão
2017-10-13 22:20:13 +01:00
committed by GitHub
parent b44c1119f8
commit cc04e8199a
5 changed files with 11 additions and 10 deletions
+1 -1
View File
@@ -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)
@@ -38,19 +38,20 @@ the problem isnt 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)
---
@@ -0,0 +1,5 @@
<sup><sub>[Go back](a_cask_fails_to_install.md#checksum-does-not-match-error)</sup></sub>
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).
@@ -1,4 +1,4 @@
<sup><sub>[Go back](sha256_mismatch_error_fix_icomplete.md)</sup></sub>
<sup><sub>[Go back](checksum_does_not_match_error_fix_icomplete.md)</sup></sub>
Let's bring the cask up to date. Itll likely need a new version, but its possible the version has remained the same (happens occasionally when the vendor updates the app in place).
@@ -1,5 +0,0 @@
<sup><sub>[Go back](a_cask_fails_to_install.md#sha256-mismatch-error)</sup></sub>
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).