Git Product home page Git Product logo

Comments (4)

LucVanDyck avatar LucVanDyck commented on September 26, 2024 1

@LucVanDyck can you install the new version from Choco and let me know if it works
Yes, now it works 🎉

from presencelight.

isaacrlevin avatar isaacrlevin commented on September 26, 2024

@gep13 any idea what could be going wrong here?

from presencelight.

gep13 avatar gep13 commented on September 26, 2024

@isaacrlevin this error indicates that the zip file being downloaded from GitHub doesn't have the same SHA that is defined within the package.

To confirm this, I went and downloaded the zip file from here:

https://github.com/isaacrlevin/presencelight/releases/download/Desktop-v5.5.17/PresenceLight.5.5.17-x64.zip

and ran Get-FileHash against is, which produced:

Algorithm       Hash                                                                   Path
---------       ----                                                                   ----
SHA256          E9F47CE46FCAC8494CB2E40CF1E243B8D4AA0CDABFE164BF3E4D8089C5330262       C:\users\gep13\downloads\PresenceLight.5.5.17-x64.zip

And comparing this to the SHA that is defined within the package, you can see that they don't match:

https://community.chocolatey.org/packages/presencelight#files

checksum64     = "AC5ADF6A1032E7A8B7958D0FF6A4A7AF1C65ADDE7C97F4257FE0B089B552C949"

In the interests of security, since the SHA's don't match, it halts when attempting to install the package. You can workaround this using the --ignore-checksums option, however, the preferred way to workaround this would be to use the --checksum64 option, passing in the exact checksum of the file that is being downloaded.

More information about the above in the blog post that I wrote about this a while back:

https://www.gep13.co.uk/blog/chocolatey-error-hashes-do-not-match

Has the zip file on GitHub changed since the Chocolatey package was published? If so, you will need to push a new package version to reflect this change.

from presencelight.

isaacrlevin avatar isaacrlevin commented on September 26, 2024

@LucVanDyck can you install the new version from Choco and let me know if it works

from presencelight.

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.