Choco install directx fails

chocolatey

#1

Hi,

Installing directx usiing chocolatey currently fails in the Windows envionment. I tried on my win 10 machine, and it is working which would seem to indicate that it’s not a problem with chocolatey or the directx package itself. You can find the output of the install below (excerpt from https://travis-ci.org/meuter/ray/jobs/447108933).

Any help much appreciated! :slight_smile:

$ choco install -y directx

Chocolatey v0.10.11

Installing the following packages:

directx

By installing you accept licenses for the packages.

Progress: Downloading directx 9.29.1974.20180606… 100%

directx v9.29.1974.20180606 [Approved]

directx package files install completed. Performing other installation steps.

Downloading directx

from ‘https://download.microsoft.com/download/8/4/A/84A35BF1-DAFE-4AE8-82AF-AD2AE20B6B14/directx_Jun2010_redist.exe

Progress: 100% - Completed download of C:\Users\travis\AppData\Local\Temp\chocolatey\directx\9.29.1974.20180606\directx_Jun2010_redist.exe (95.63 MB).

Download of directx_Jun2010_redist.exe (95.63 MB) completed.

Hashes match.

Installing directx…

directx has been installed.

Installing directx…

ERROR: Running [“C:\ProgramData\chocolatey\lib\directx\tools\DXSETUP.exe” /silent ] was not successful. Exit code was ‘-9’. See log for possible error messages.

The install of directx was NOT successful.

Error while running ‘C:\ProgramData\chocolatey\lib\directx\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

  • directx (exited -9) - Error while running ‘C:\ProgramData\chocolatey\lib\directx\tools\chocolateyInstall.ps1’.

See log for details.


#2

For me, choco install python3 in before_install hangs and fails.


#3

What does the log say? https://travis-ci.org/meuter/ray/jobs/447108933#L53 (You’ll have to explicitly dump the content, for example, in after_failure.


#4

I explicitely dumped the logs of chocolatey as you said (https://travis-ci.org/meuter/ray/builds/447396332) but I could not find the root cause from the logs or any ways to fix it. Maybe someone else will spot something that I missed.