[Wine] wintricks error

Gert van den Berg wine-users at mohag.net
Sun Dec 5 04:24:16 CST 2010

On Sun, Dec 5, 2010 at 11:22, htr <wineforum-user at winehq.org> wrote:
> htr at htr:~$ winetricks directx9
> Executing wget -O directx_feb2010_redist.exe -nd -c --read-timeout=300 --retry-connrefused --header Accept-Encoding: gzip,deflate http://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe
> directx_feb2010_redist.exe: Access denied
> ------------------------------------------------------
> Note: command 'wget -O directx_feb2010_redist.exe -nd -c --read-timeout=300 --retry-connrefused --header Accept-Encoding: gzip,deflate http://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe' returned status 1.  Aborting.
> ------------------------------------------------------
> Help please.
> Tell me what to do.

Run the following command and post the output: (Assuming bash / zsh as shell)
ls -lad ~/.winetrickscache
ls -la ~/.winetrickscache

If you do not own it, ask whoever instructed you to use sudo with
winetricks how to fix it. (winetricks, like Wine, shouldn't be run as
root, especially not with su (if you need to run something as root for
some reason (the lazy way to use IPX for example), do at least a "su
-" or preferably a proper login as root))

The one quick fix that should work is: (Run this as your user,
otherwise the "~" won't be expanded properly)
sudo rm -rf ~/.winetrickscache

Other possible cases can include not having write persmissions on your
own home directory, which should normally not happen.

More information about the wine-users mailing list