flcdrg / au-packages

David's Chocolatey Automatic Packages
MIT License
18 stars 52 forks source link

[chocolatey:beyondcompare] update to latest version (v4.4.7.28397 as of Feb 29 2024) not working #173

Closed zippydan closed 4 months ago

zippydan commented 4 months ago

I'm trying to update to the latest version, and getting the following errors (from Powershell):

You have beyondcompare v4.4.6.27483 installed. Version 4.4.7.28397 is available based on your source(s).
Progress: Downloading beyondcompare 4.4.7.28397... 100%

beyondcompare v4.4.7.28397 [Approved]
beyondcompare package files upgrade completed. Performing other installation steps.
Downloading beyondcompare
from 'https://www.scootersoftware.com/BCompare-4.4.7.28397.exe'
WARNING: C:\Users\Admin\AppData\Local\Temp\chocolatey\beyondcompare\4.4.7.28397\error is of content type text/html; charset=UTF-8
Progress: 100% - Completed download of C:\Users\Admin\AppData\Local\Temp\chocolatey\beyondcompare\4.4.7.28397\error (7.68 KB).
Download of error (7.68 KB) completed.
Error - hashes do not match. Actual value was '7948155550D323D5BEC4D9A0E9B3EE26DCB06FEC239AE1F3EC5F2FABAE566919'.
ERROR: Checksum for 'C:\Users\Admin\AppData\Local\Temp\chocolatey\beyondcompare\4.4.7.28397\error' did not meet '5b14f35bf4219fdcc138a4a6ed8f20605d455027a94a50ab37db64e53153d141' 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 upgrade of beyondcompare was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\beyondcompare\tools\chocolateyInstall.ps1'.
See log for details.

I tried running it with --ignore-checksums:

You have beyondcompare v4.4.6.27483 installed. Version 4.4.7.28397 is available based on your source(s).
Progress: Downloading beyondcompare 4.4.7.28397... 100%

beyondcompare v4.4.7.28397 [Approved]
beyondcompare package files upgrade completed. Performing other installation steps.
File appears to be downloaded already. Verifying with package checksum to determine if it needs to be redownloaded.
Error - hashes do not match. Actual value was '7948155550D323D5BEC4D9A0E9B3EE26DCB06FEC239AE1F3EC5F2FABAE566919'.
Downloading beyondcompare
from 'https://www.scootersoftware.com/BCompare-4.4.7.28397.exe'
WARNING: C:\Users\Admin\AppData\Local\Temp\chocolatey\beyondcompare\4.4.7.28397\error is of content type text/html; charset=UTF-8
Progress: 100% - Completed download of C:\Users\Admin\AppData\Local\Temp\chocolatey\beyondcompare\4.4.7.28397\error (7.68 KB).
Download of error (7.68 KB) completed.
Error - hashes do not match. Actual value was '97FF6A70B16AF68EBC0772978EAFEEF6FD2CA0F0174C01A6CB540CB255D301DF'.
ERROR: Checksum for 'C:\Users\Admin\AppData\Local\Temp\chocolatey\beyondcompare\4.4.7.28397\error' did not meet '5b14f35bf4219fdcc138a4a6ed8f20605d455027a94a50ab37db64e53153d141' 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 upgrade of beyondcompare was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\beyondcompare\tools\chocolateyInstall.ps1'.
See log for details.

It seems to be downloading an "error" text file instead of the actual application binaries?

flcdrg commented 4 months ago

Thanks for the report! Looks like they've changed the download links for their files (which probably breaks every historic version of this package too). Pushing a new version just now - https://community.chocolatey.org/packages/beyondcompare/4.4.7.20240301