Directx install problem (possibly big bug)

I dont know whats happened but it used to work, I tried installing league in 17.04 17.10 lubuntu and I get this.,. Happened in 16.04 too I think I really dont know a fix of this and what is going.

Maybe except apparently Lutris has python syntax problems according to terminal? Its like syntax gtk widget something some thing something. I am not that deep into python yet so I do not know what that is.

And apparently Lutris only runs with the sudo command…

This is Lubuntu 17.04

Here is what I get when the installer is trying to get directx.

Using winetricks 20171018-next - sha256sum: e586dbf0ebdd7969b558e1e03372bfd7e735a98a33e95bdad32d831e6b2cc2db with wine-2.21 (Staging) and WINEARCH=win32
------------------------------------------------------
Github down? version ‘’ doesn’t appear to be a valid version
------------------------------------------------------
------------------------------------------------------
You are running winetricks-20171018-next, latest upstream is winetricks-!
------------------------------------------------------
------------------------------------------------------
You should update using your distribution’s package manager, --self-update, or manually.
------------------------------------------------------
Executing w_do_call directx9
Executing load_directx9
Executing cd /home/chrx/.cache/winetricks/directx9
Downloading https://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe to /home/chrx/.cache/winetricks/directx9
–2017-12-15 00:36:31-- https://download.microsoft.com/download/E/E/1/EE17FF74-6C45-4575-9CF4-7FC2597ACD18/directx_feb2010_redist.exe
Resolving download.microsoft.com (download.microsoft.com)… failed: Connection timed out.
wget: unable to resolve host address ‘download.microsoft.com
Executing cd /home/chrx/.cache/winetricks/directx9

thank

edit:// if I run sudo lutris I get this

chrx@chrx:~$ sudo lutris

(lutris:1787): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:23:18: not a number

(lutris:1787): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:23:18: Expected a string.

(lutris:1787): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:815:10: not a number

(lutris:1787): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:815:24: Using Pango syntax for the font: style property is deprecated; please use CSS syntax

(lutris:1787): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1953:14: not a number

(lutris:1787): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1953:14: Expected a string.

(lutris:1787): Gtk-WARNING **: Theme parsing error: nautilus.css:50:71: Using one color stop with linear-gradient() is deprecated.

(lutris:1787): Gtk-WARNING **: Theme parsing error: nautilus.css:51:71: Using one color stop with linear-gradient() is deprecated.

(lutris:1787): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:252:14: not a number

(lutris:1787): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:252:14: Expected a string.

(lutris:1787): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:23:18: not a number

(lutris:1787): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:23:18: Expected a string.

(lutris:1787): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:815:10: not a number

(lutris:1787): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:815:24: Using Pango syntax for the font: style property is deprecated; please use CSS syntax

(lutris:1787): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1953:14: not a number

(lutris:1787): Gtk-WARNING **: Theme parsing error: gtk-widgets.css:1953:14: Expected a string.

(lutris:1787): Gtk-WARNING **: Theme parsing error: nautilus.css:50:71: Using one color stop with linear-gradient() is deprecated.

(lutris:1787): Gtk-WARNING **: Theme parsing error: nautilus.css:51:71: Using one color stop with linear-gradient() is deprecated.

(lutris:1787): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:252:14: not a number

(lutris:1787): Gtk-WARNING **: Theme parsing error: gtk-lubuntu.css:252:14: Expected a string.

Edit://#2 It worked fine on 16.04 except that the client didn’t want to patch.

dont use sudo. Lutris does not need, nor should you run with, root privileges. Running wine as root is also asking for trouble.