AnthonyMastrean / chocolateypackages

Application packages for Windows
https://chocolatey.org/profiles/AnthonyMastrean
18 stars 63 forks source link

bind-toolsonly - source zip url looks been moved #350

Closed ytnobody closed 5 years ago

ytnobody commented 5 years ago

I encountered a failure when upgrade bind-toolsonly via choco on my Razer Blade Stealth 2017 with Windows 10 Home Edition.

PS C:\WINDOWS\system32> choco upgrade bind-toolsonly
Chocolatey v0.10.8
Upgrading the following packages:
bind-toolsonly
By upgrading you accept licenses for the packages.

You have bind-toolsonly v9.12.3 installed. Version 9.14.0 is available based on your source(s).
Progress: Downloading bind-toolsonly 9.14.0... 100%

bind-toolsonly v9.14.0 [Approved] - Likely broken for FOSS users (due to download location changes)
bind-toolsonly package files upgrade completed. Performing other installation steps.
The package bind-toolsonly wants to run 'chocolateyInstall.ps1'.
Note: If you don't run this script, the installation will fail.
Note: To confirm automatically next time, use '-y' or consider:
choco feature enable -n allowGlobalConfirmation
Do you want to run the script?([Y]es/[N]o/[P]rint): y

Attempt to get headers for https://www.isc.org/downloads/file/bind-9-14-0/?version=win-64-bit failed.
  The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://www.isc.org/downloads/file/bind-9-14-0/?version=win-64-bit'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
Downloading bind 64 bit
  from 'https://www.isc.org/downloads/file/bind-9-14-0/?version=win-64-bit'
ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://www.isc.org/downloads/file/bind-9-14-0/?version=win-64-bit'. 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://chocolatey.org/docs/features-private-cdn.
The upgrade of bind-toolsonly was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\bind-toolsonly\tools\chocolateyInstall.ps1'.
 See log for details.
 Unsuccessful operation for bind-toolsonly.
  Rollback to previous version (package files only)?([Y]es/[N]o): y

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

Failures
 - bind-toolsonly (exited 404) - Error while running 'C:\ProgramData\chocolatey\lib\bind-toolsonly\tools\chocolateyInstall.ps1'.
 See log for details.

Source zip url looks been moved.

zip: https://downloads.isc.org/isc/bind9/9.14.2/BIND9.14.2.x64.zip

Please see more detail at https://www.isc.org/download/#BIND