sqitchers / homebrew-sqitch

Homebrew Formulas for Sqitch
22 stars 10 forks source link

SHA1 Mismatch on 0.995 upgrade of sqitch_dependencies #7

Closed Trekoid closed 10 years ago

Trekoid commented 10 years ago

I had sqitch 0.993 installed through homebrew. I ran brew update, brew doctor, brew upgrade. During upgrade got the following error:

>$ brew upgrade
==> Upgrading 3 outdated packages, with result:
sqitch 0.995, sqitch_dependencies 0.995, sqitch_pg 0.995
==> Upgrading sqitch
==> Installing sqitch dependency: sqitch_dependencies
==> Downloading http://api.metacpan.org/source/DWHEELER/App-Sqitch-0.995/META.json
######################################################################## 100.0%
Error: SHA1 mismatch
Expected: 5af338c96cc958957fbc5dd9310a863824d161dc
Actual: b7b9a837bd575d45ac99132b84335c82c8c40e5b
Archive: /Library/Caches/Homebrew/sqitch_dependencies-0.995.json
To retry an incomplete download, remove the file above.

I then tried removing the file and downloading again, but I get the same SHA1 mismatch error.

>$ rm /Library/Caches/Homebrew/sqitch_dependencies-0.995.json
>$ brew upgrade
==> Upgrading 3 outdated packages, with result:
sqitch 0.995, sqitch_dependencies 0.995, sqitch_pg 0.995
==> Upgrading sqitch
==> Installing sqitch dependency: sqitch_dependencies
==> Downloading http://api.metacpan.org/source/DWHEELER/App-Sqitch-0.995/META.json
######################################################################## 100.0%
Error: SHA1 mismatch
Expected: 5af338c96cc958957fbc5dd9310a863824d161dc
Actual: b7b9a837bd575d45ac99132b84335c82c8c40e5b
Archive: /Library/Caches/Homebrew/sqitch_dependencies-0.995.json
To retry an incomplete download, remove the file above.
theory commented 10 years ago

I could have sworn I hashed the right file, but I guess not. Thanks for the report.

Trekoid commented 10 years ago

Thanks for the quick fix. It successfully upgraded.