Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sha256sum: WARNING: 1 computed checksum did NOT match #36

Closed
samirkape opened this issue Dec 14, 2022 · 4 comments
Closed

sha256sum: WARNING: 1 computed checksum did NOT match #36

samirkape opened this issue Dec 14, 2022 · 4 comments

Comments

@samirkape
Copy link

I cloned the repo 3 times and tried verifying the checksum but it is not matching, any idea what might be the reason?

@udhos
Copy link
Owner

udhos commented Dec 14, 2022

What SHA256 value do yout get for these commands below?

$ sha256sum update-golang.sh
06bd86ebed47f567d53c4fe22e76fd25d30a79dbcda067ea5a94f5c105577951  update-golang.sh
$ curl https://raw.githubusercontent.com/udhos/update-golang/master/update-golang.sh.sha256
06bd86ebed47f567d53c4fe22e76fd25d30a79dbcda067ea5a94f5c105577951  update-golang.sh

@samirkape
Copy link
Author

samirkape commented Dec 22, 2022

sha256sum update-golang.sh
3a985a9fae35c58952979431c2106ef563aeb469b2b120fbb3e265bae52545d2 *update-golang.sh
curl https://raw.githubusercontent.com/udhos/update-golang/master/update-golang.sh.sha256
22806bd86ebed47f567d53c4fe22e76fd25d30a79dbcda067ea5a94f5c105577951  update-golang.sh

Platform: Windows (gitbash)

@udhos
Copy link
Owner

udhos commented Dec 22, 2022

I guess the issue with wrong sha256 for git clone is your git client is likely configured to translate line endings to Windows convention, and that affects the digest.

The issue with curl I can't guess!

However, as far as I can tell, this update-golang script is NOT able to correctly install/update Go under Windows. For Windows you should really rely on the official installation instructions.

@samirkape
Copy link
Author

Thank you for the info.
Closing this since the windows platform isn't supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants