GithubHelp home page GithubHelp logo

Comments (10)

bevanjkay avatar bevanjkay commented on June 12, 2024 2

@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.

taisei-yamamoto-an avatar taisei-yamamoto-an commented on June 12, 2024 1

In accordance with the provided document, I tried the following, but the situation did not change:

  1. Go to the vendor’s website (brew home <cask_name>).
  2. Find out what the latest version is. It may be expressed in the URL used to download it.
  3. 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.

taisei-yamamoto-an avatar taisei-yamamoto-an commented on June 12, 2024

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.

jendave avatar jendave commented on June 12, 2024

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.

razvanazamfirei avatar razvanazamfirei commented on June 12, 2024

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.

taisei-yamamoto-an avatar taisei-yamamoto-an commented on June 12, 2024

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.

krehel avatar krehel commented on June 12, 2024

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.

vthwang avatar vthwang commented on June 12, 2024

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.

jendave avatar jendave commented on June 12, 2024

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.

dchien234 avatar dchien234 commented on June 12, 2024

yep, looks like it's fixed by upstream, will close this for now. thanks.

from homebrew-cask.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.