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)
- BetterAndBetter url changed HOT 1
- virtualdj download files have been moved by vendor.
- temurin@17 and the others are not installing HOT 4
- Failed to install Microsoft Edge when $home is located on ext. drive HOT 2
- redis-gui: `Error: Unexpected method 'appcast' called on Cask redis-gui.` HOT 1
- darktable needs minimum macos 3.5, app fail on 12.7.5, pls add a depend_on... HOT 1
- firefox@developer-edition doesn't upgrade HOT 5
- PocketCasts is outdated HOT 1
- adobe-acrobat-pro not updating HOT 1
- Link for metashapepro is wrong HOT 3
- Wrong package downloaded for appcleaner : brew install --cask appcleaner HOT 1
- Messenger cask broken HOT 6
- cloudflare-warp always remove config/credentials during upgrade
- ProtonMail Desktop Cask Download Link HOT 3
- gcc-arm-embedded-13.3-rel1 fails to install on case sensitive file system
- imhex 1.35.4 macOS x86_64 can't be opened HOT 2
- gns3 sha256 is wrong - cannot update to 2.2.48 HOT 3
- Error: Unexpected method 'appcast' called on Cask adoptopenjdk8. HOT 2
- `font-cantarell` uses old version of font that breaks in some use cases HOT 4
- Formula "fxfactory" continuously updating incorrect sha256 by BrewTestBot HOT 2
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.