bdukes / Chocolatey-Packages

Packages for the Windows installation utility
Apache License 2.0
7 stars 14 forks source link

ImageMagick package fails to install #35

Closed runfalk closed 4 years ago

runfalk commented 4 years ago

We are using the ImageMagick package as part of our CI pipeline and recently Windows builds started to fail.

This is stdout for the relevant step:

$ choco install --timeout 600 imagemagick.tool
Chocolatey v0.10.15
Installing the following packages:
imagemagick.tool
By installing you accept licenses for the packages.

Progress: Downloading imagemagick.tool 7.0.10.33... 14%
Progress: Downloading imagemagick.tool 7.0.10.33... 43%
Progress: Downloading imagemagick.tool 7.0.10.33... 72%
Progress: Downloading imagemagick.tool 7.0.10.33... 100%

imagemagick.tool v7.0.10.33 [Approved]
imagemagick.tool package files install completed. Performing other installation steps.
Attempt to get headers for https://ftp.icm.edu.pl/pub/graphics/ImageMagick/binaries/ImageMagick-7.0.10-33-portable-Q16-x64.zip failed.
  The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://ftp.icm.edu.pl/pub/graphics/ImageMagick/binaries/ImageMagick-7.0.10-33-portable-Q16-x64.zip'. Exception calling "GetResponse" with "0" argument(s): "The remote server returned an error: (404) Not Found."
Downloading imagemagick.tool 64 bit
  from 'https://ftp.icm.edu.pl/pub/graphics/ImageMagick/binaries/ImageMagick-7.0.10-33-portable-Q16-x64.zip'
ERROR: The remote file either doesn't exist, is unauthorized, or is forbidden for url 'https://ftp.icm.edu.pl/pub/graphics/ImageMagick/binaries/ImageMagick-7.0.10-33-portable-Q16-x64.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://chocolatey.org/docs/features-private-cdn.
The install of imagemagick.tool was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\imagemagick.tool\tools\chocolateyInstall.ps1'.
 See log for details.

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

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

Looking at https://ftp.icm.edu.pl/pub/graphics/ImageMagick/binaries/ it seems like all versions from 7.0.10-30 and above are gone.

bdukes commented 4 years ago

I think the answer to this issue is to update the package to include the binaries, since the official site doesn't keep old binaries (and the mirror isn't keeping up). Unfortunately, I don't expect to have time soon to address this. Any help is welcomed.

CAMOBAP commented 2 years ago

I still faced with this issue recently:

Does it mean that we cannot use the most recent versions of imagemagic.tools

bdukes commented 2 years ago

I tackled #39 this weekend, but it looks like the zip packages for ImageMagick 7 may be too big to be included in a NuGet package, so I'm not sure what the next best approach is…