bcurran3 / ChocolateyPackages

My published Chocolatey packages
206 stars 94 forks source link

SetACL fails to install as the download URL returns 404 as a new 3.1.2 version has become available #314

Closed jpluimers closed 1 year ago

jpluimers commented 1 year ago

The download of SetACL version 3.0.6 at https://helgeklein.com/downloads/SetACL/current/SetACL%20(executable%20version).zip is not available any more, as a new 3.1.2 version is available at https://helgeklein.com/downloads/SetACL/current/SetACL%203.1.2%20(executable%20version).zip (see https://helgeklein.com/download/#download-setacl)

The 3.0.6 version is still downloadable from the Wayback Machine at https://web.archive.org/web/20181107043600if_/https://helgeklein.com/downloads/SetACL/current/SetACL%20(executable%20version).zip

The earliest 3.1.2 version in the Wayback Machine is at https://web.archive.org/web/20210702082246if_/https://helgeklein.com/downloads/SetACL/current/SetACL%203.1.2%20%28executable%20version%29.zip so it looks like the 3.0.6 version has been available for quite a while after silently introducing 3.1.2.

Console log:

C:\Users\jeroenp>choco upgrade --yes setacl
Chocolatey v1.2.0
Upgrading the following packages:
setacl
By upgrading, you accept licenses for the packages.
setacl is not installed. Installing...
Progress: Downloading setacl 3.0.6.0... 100%
Progress: Downloading setacl 3.0.6.0... 100%

setacl v3.0.6.0 [Approved]
setacl package files upgrade completed. Performing other installation steps.
Attempt to get headers for https://helgeklein.com/downloads/SetACL/current/SetACL%20(executable%20version).zip failed.
  The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://helgeklein.com/downloads/SetACL/current/SetACL%20(executable%20version).zip'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
Downloading setacl
  from 'https://helgeklein.com/downloads/SetACL/current/SetACL%20(executable%20version).zip'
ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://helgeklein.com/downloads/SetACL/current/SetACL%20(executable%20version).zip'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
This package is likely not broken for licensed users - see https://docs.chocolatey.org/en-us/features/private-cdn.
The upgrade of setacl was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\setacl\tools\chocolateyInstall.ps1'.
 See log for details.

Chocolatey upgraded 0/1 packages. 1 packages failed.
 See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures
 - setacl (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\setacl\tools\chocolateyInstall.ps1'.
 See log for details.
jpluimers commented 1 year ago

I forgot I also submitted this as #309. Sorry.