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

v2.14.2 checksum error #303

Open
mariianii opened this issue May 27, 2024 · 4 comments
Open

v2.14.2 checksum error #303

mariianii opened this issue May 27, 2024 · 4 comments
Assignees

Comments

@mariianii
Copy link

I'm trying to install icinga 2.14.2 on a Windows Server 2022 Standard using Chocolatey V2.2.2. During the install I get the following error:

Download of Icinga2-v2.14.2-x86_64.msi (11.3 MB) completed. Error - hashes do not match. Actual value was 'A85D0FD92DDAE1932EA65970E870248D077BD123FCBA88058C22EA38D94A3C44'. ERROR: Checksum for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\icinga2\2.14.2\Icinga2-v2.14.2-x86_64.msi' did not meet '8EC21FF197E82945263F63482BD8F280FDFD4E35BD766C0B162B849EF44CD940' for checksum type 'sha256'. Consider passing the actual checksums through with --checksum --checksum64 once you validate the checksums are appropriate. A less secure option is to pass --ignore-checksums if necessary. The install of icinga2 was NOT successful. Error while running 'C:\ProgramData\chocolatey\lib\icinga2\tools\chocolateyInstall.ps1'. See log for details.

Can someone explain to me where the sha256 sum comes from? Is it from the icinga repo or somewhere in the msi? And why is the checksum different from what the installer is expecting?

@Al2Klimov
Copy link
Member

Should work now again.

@eedsele
Copy link

eedsele commented Jun 28, 2024

Hi, looks like I have the same issue today.

Downloading icinga2 64 bit
  from 'https://packages.icinga.com/windows/Icinga2-v2.14.2-x86_64.msi'

Download of Icinga2-v2.14.2-x86_64.msi (11.29 MB) completed.
ERROR: Checksum for 'C:\Users\Administrator\AppData\Local\Temp\chocolatey\icinga2\2.14.2\Icinga2-v2.14.2-x86_64.msi' did not meet '8EC21FF197E82945263F63482BD8F280FDFD4E35BD766C0B162B849EF44CD940' for checksum type 'sha256'. Consider passing the actual checksums through with --checksum --checksum64 once you validate the checksums are appropriate. A less secure option is to pass --ignore-checksums if necessary.
The install of icinga2 was NOT successful.

Many thanks for investigating.

@oxzi
Copy link
Member

oxzi commented Jul 1, 2024

@eedsele: Thanks you very much for reporting this issue.

How are you exactly trying to install Icinga 2? Is this output also from Chocolatey? And which SHA256 value does your downloaded msi file has?

When just downloading the file, I get the expected checksum.

$ wget https://packages.icinga.com/windows/Icinga2-v2.14.2-x86_64.msi
--2024-07-01 09:05:29--  https://packages.icinga.com/windows/Icinga2-v2.14.2-x86_64.msi
Resolving packages.icinga.com (packages.icinga.com)... 185.233.189.126
Connecting to packages.icinga.com (packages.icinga.com)|185.233.189.126|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 11837392 (11M) [application/x-msi]
Saving to: ‘Icinga2-v2.14.2-x86_64.msi’

Icinga2-v2.14.2-x86_64.msi          100%[==================================================================>]  11.29M  29.7MB/s    in 0.4s

2024-07-01 09:05:30 (29.7 MB/s) - ‘Icinga2-v2.14.2-x86_64.msi’ saved [11837392/11837392]

$ sha256sum Icinga2-v2.14.2-x86_64.msi
8ec21ff197e82945263f63482bd8f280fdfd4e35bd766c0b162b849ef44cd940  Icinga2-v2.14.2-x86_64.msi

@oxzi oxzi reopened this Jul 1, 2024
@Al2Klimov Al2Klimov assigned eedsele and unassigned Al2Klimov Jul 1, 2024
@Al2Klimov
Copy link
Member

FWIW

Bildschirmfoto 2024-07-01 um 15 52 00

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

4 participants