Comments (10)
@taisei-yamamoto-an Thank you for looking into it further.
It seems like upstream is not returning a complete zip
file when fetching it using curl
.
It may be an upstream bug, or it may be intentional. Can you file an issue with the vendor?
from homebrew-cask.
In accordance with the provided document, I tried the following, but the situation did not change:
- Go to the vendor’s website (brew home <cask_name>).
- Find out what the latest version is. It may be expressed in the URL used to download it.
- Take a look at the cask’s version (brew info <cask_name>) and verify it is indeed outdated. If so, it will need to be updated.
Looking at the log displayed during the brew install
execution, it seems that it is downloading from the appropriate URL https://dl.pstmn.io/download/version/11.1.0/osx_arm64. If you access this URL via Chrome, the installer is correctly downloaded. Running SHA256sum produces the correct result (57e24b5e5d760e7c1994f174a8db36950a91a566d20e23d70d3b65e0519c65c3). Of course, it also functions correctly as an installer.
However, the file downloaded by brew (/Users/yamamoto/Library/Caches/Homebrew/downloads/d08d30b6b609e75320f88d12f8cf17bc1d009535818711014780757864568172--Postman%20v11.1.0%20for%20macOS%20) does not produce the appropriate value with sha256sum, and attempting to unzip it after changing the extension to zip fails (the file command indicates that it is indeed a zip file).
I would like to continue to request support to resolve this issue, and I will also consider if there is anything else I can do to improve the situation.
from homebrew-cask.
same problem
$ brew install --cask postman
==> Downloading https://dl.pstmn.io/download/version/11.1.0/osx_arm64
Already downloaded: /Users/user/Library/Caches/Homebrew/downloads/d08d30b6b609e75320f88d12f8cf17bc1d009535818711014780757864568172--Postman%20v11.1.0%20for%20macOS%20
Error: SHA256 mismatch
Expected: 57e24b5e5d760e7c1994f174a8db36950a91a566d20e23d70d3b65e0519c65c3
Actual: 948841958b1ab18a7bf79c19cdc5c2ea20c3525b03431f1c86798055127b790d
File: /Users/user/Library/Caches/Homebrew/downloads/d08d30b6b609e75320f88d12f8cf17bc1d009535818711014780757864568172--Postman%20v11.1.0%20for%20macOS%20
To retry an incomplete download, remove the file above.
from homebrew-cask.
I have this problem as well.
~ brew install postman
==> Downloading https://dl.pstmn.io/download/version/11.1.0/osx_arm64
######################################################################### 100.0%
Error: SHA256 mismatch
Expected: 57e24b5e5d760e7c1994f174a8db36950a91a566d20e23d70d3b65e0519c65c3
Actual: 948841958b1ab18a7bf79c19cdc5c2ea20c3525b03431f1c86798055127b790d
File: /Users/david.hudson/Library/Caches/Homebrew/downloads/d08d30b6b609e75320f88d12f8cf17bc1d009535818711014780757864568172--Postman%20v11.1.0%20for%20macOS%20
To retry an incomplete download, remove the file above.
from homebrew-cask.
I made doubly sure this is not a checksum does not match / SHA256 mismatch error (do not open an issue before trying to open a PR to fix first).
from homebrew-cask.
Thank you for your reply. I tried again just now, and it worked successfully. It was probably a temporary issue. Thank you for your support. From my side, it's okay to close this issue.
from homebrew-cask.
As another data point: I have been testing this issue off and on for the last few days, but I couldn't replicate it by getting a mismatching checksum. I get the correct download using brew
same as a web browser and while it doesn't seem to be a .zip
extension, the sha256sum matches.
from homebrew-cask.
As another data point: I have been testing this issue off and on for the last few days, but I couldn't replicate it by getting a mismatching checksum. I get the correct download using
brew
same as a web browser and while it doesn't seem to be a.zip
extension, the sha256sum matches.
Yesterday, I still had problems when I tested it. Basically, the zip file I downloaded using curl was damaged, and it couldn't be unzip as well. When I tested it today, I could download it normally using curl. I think Postman has fixed the problem.
curl -v -o Postman-v11.1.0-for-macOS-arm64.zip https://dl.pstmn.io/download/version/11.1.0/osx_arm64
What I got yesterday:
948841958b1ab18a7bf79c19cdc5c2ea20c3525b03431f1c86798055127b790d Postman-v11.1.0-for-macOS-arm64.zip
Today:
57e24b5e5d760e7c1994f174a8db36950a91a566d20e23d70d3b65e0519c65c3 Postman-v11.1.0-for-macOS-arm64.zip
from homebrew-cask.
I can confirm that the issue appears to have been fixed. I had to delete the local cached version of Postman
rm /Users/david.hudson/Library/Caches/Homebrew/downloads/d08d30b6b609e75320f88d12f8cf17bc1d009535818711014780757864568172--Postman%20v11.1.0%20for%20macOS%20
remove /Users/david.hudson/Library/Caches/Homebrew/downloads/d08d30b6b609e75320f88d12f8cf17bc1d009535818711014780757864568172--Postman%20v11.1.0%20for%20macOS%20? y
➜ brew install postman
==> Downloading https://dl.pstmn.io/download/version/11.1.0/osx_arm64
#################################################################################################################### 100.0%
==> Installing Cask postman
==> Moving App 'Postman.app' to '/Applications/Postman.app'
🍺 postman was successfully installed!
from homebrew-cask.
yep, looks like it's fixed by upstream, will close this for now. thanks.
from homebrew-cask.
Related Issues (20)
- 115 has changed its installation method HOT 1
- An error occurred during software installation and cannot be resolved HOT 3
- Missing steelseries-exactmouse-tool from Homebrew/homebrew-cask-drivers HOT 3
- Unexpected method 'appcast' called on Cask winds HOT 9
- 404: prosys-opc-ua-browser HOT 1
- Unexpected method 'appcast' called on Cask near-lock. HOT 1
- brew outdated Error: Unexpected method 'appcast' called on Cask cryptobridge HOT 1
- Unexpected method 'appcast' called on Cask adoptopenjdk11 HOT 1
- zoom 6.0+ fails to install -- invalid path for downloaded package HOT 2
- Unexpected method 'appcast' called on Cask mongodb HOT 1
- Unable to install yandex-cloud-cli cask HOT 4
- Unexpected method 'appcast' called on Cask gfortran HOT 2
- vmware-fusion cask download failed HOT 6
- can't install bartender HOT 2
- [exelban/stats: v2.10.13] Error: SHA256 mismatch (followed all verification steps, error when trying to open PR)
- github SHA256 Mismatch When Installing Version 3.3.18 HOT 8
- Convert scripts in `developer/bin` to Homebrew commands HOT 5
- Installing cask philips-hue-sync v1.12.0.64 fails with undefined method `rename' for nil HOT 4
- Cask texshop cannot be updated HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homebrew-cask.