Help w/ Lutris for Zwift

Cablelane

New Member
Joined
Jan 7, 2021
Messages
9
Reaction score
0
Credits
75
Newbie here...any help appreciated. Looking to use Zwift (indoor cycling "game") on Linux (Mint 19.3 Cinnamon). From an online search, I see Lutris (with Wine) is the way to go. However when using command to get Lutris, I receive this error message:
Type 'wget' is not known on line 1 in source list /etc/apt/sources.list.d/lutris.list
 


G'day @Cablelane and welcome to linux.org :)

I'm moving this to our Games section for better attention.

Good luck

Chris Turner
wizardfromoz
 
I think you might have uncommented a line in /etc/apt/sources.list.d/lutris.list. What does /etc/apt/sources.list.d/lutris.list look like?
 
Sorry for delay. Here's the response:
bash: /etc/apt/sources.list.d/lutris.list: Permission denied
 
Can you just do the following.
Code:
cat /etc/apt/sources.list.d/lutris.list
 
Remove that file: /etc/apt/sources.list.d/lutris.list
You are running Linux Mint so you can just use the lutris ppa to install it.
Code:
sudo add-apt-repository ppa:lutris-team/lutris
sudo apt update
sudo apt install lutris
 
Thanks.

1) Tried this: rm /etc/apt/sources.list.d/lutris.list
Got this:
rm: remove write-protected regular file '/etc/apt/sources.list.d/lutris.list'? y
rm: cannot remove '/etc/apt/sources.list.d/lutris.list': Permission denied


2) Then tried:

sudo add-apt-repository ppa:lutris-team/lutris
sudo apt update
sudo apt install lutris

Got this:
Executing: /tmp/apt-key-gpghome.m4IWuOwSf6/gpg.1.sh --keyserver hkps://keyserver.ubuntu.com:443 --recv-keys 82D96E430A1F1C0F0502747E37B90EDD4E3EFAE4
gpg: key 37B90EDD4E3EFAE4: "Launchpad PPA for lutris" not changed
gpg: Total number processed: 1
gpg: unchanged: 1

Thanks for any assist!
 
1) You should do it with sudo, so like this:
Code:
sudo /etc/apt/sources.list.d/lutris.list

2) Seems you already have the key imported so you can just do the remaining steps now:
Code:
sudo apt update
sudo apt install lutris
 
Sorry, struggling here.

brian@brian-HP-EliteBook-850-G3:~$ sudo /etc/apt/sources.list.d/lutris.list
[sudo] password for brian:
sudo: /etc/apt/sources.list.d/lutris.list: command not found
brian@brian-HP-EliteBook-850-G3:~$ sudo apt update
E: Type 'wget' is not known on line 1 in source list /etc/apt/sources.list.d/lutris.list
E: The list of sources could not be read.
brian@brian-HP-EliteBook-850-G3:~$ sudo apt install lutris
E: Type 'wget' is not known on line 1 in source list /etc/apt/sources.list.d/lutris.list
E: The list of sources could not be read.
 
What does that file look like now?
Code:
cat /etc/apt/sources.list.d/lutris.list
 
wget -q https://download.opensuse.org/repositories/home:/strycore/Debian_10/Release.key -0-
sudo apt -ke y add-
apt update
apt install lutris
What did you do before that? Because it seems more like you pasted that into the lutris source file? You are running Mint 19.3 right? If you followed the instructions by adding the ppa that file should have the following content.
Code:
deb http://ppa.launchpad.net/lutris-team/lutris/ubuntu bionic main
# deb-src http://ppa.launchpad.net/lutris-team/lutris/ubuntu bionic main
If you are running MInt 19.3 replace the content of /etc/apt/sources.list.d/lutris.list with what I have in code tags and then do: 1. sudo apt update 2. sudo apt install lutris
 
User error I'm sure but:
brian@brian-HP-EliteBook-850-G3:~$ # deb-src http://ppa.launchpad.net/lutris-team/lutris/ubuntu bionic main
brian@brian-HP-EliteBook-850-G3:~$ sudo apt update
[sudo] password for brian:
E: Type 'wget' is not known on line 1 in source list /etc/apt/sources.list.d/lutris.list
E: The list of sources could not be read.
brian@brian-HP-EliteBook-850-G3:~$ sudo apt install lutris
E: Type 'wget' is not known on line 1 in source list /etc/apt/sources.list.d/lutris.list
E: The list of sources could not be read.
E: Type 'wget' is not known on line 1 in source list /etc/apt/sources.list.d/lutris.list
E: The list of sources could not be read.
brian@brian-HP-EliteBook-850-G3:~$
 
Copy this:
Code:
deb http://ppa.launchpad.net/lutris-team/lutris/ubuntu bionic main
# deb-src http://ppa.launchpad.net/lutris-team/lutris/ubuntu bionic main
And paste into this file(/etc/apt/sources.list.d/lutris.list) replacing it's current content. Then: 1. sudo apt update 2. sudo apt install lutris
 
Back at #9, that should have been
Code:
sudo rm /etc/apt/sources.list.d/lutris.list

Just an FYI
 
Back at #9, that should have been
Code:
sudo rm /etc/apt/sources.list.d/lutris.list

Just an FYI
Yes it should have been, wasn;t paying attention while I was typing. Will see if OP gets done what I asked in post #16 now.
 
Last edited:
A valiant effort on everyone's behalf, thank you.

I don't know how to "paste into this file(/etc/apt/sources.list.d/lutris.list) replacing it's current content." When I enter the phrase from /etc...list), I get "Permission denied".
 
You can either try one this:
1. Create a new file anyone in your homedir and add the following contents to it:
Code:
deb http://ppa.launchpad.net/lutris-team/lutris/ubuntu bionic main
# deb-src http://ppa.launchpad.net/lutris-team/lutris/ubuntu bionic main
2. Copy that file over the lutris.list file and update your sources and then install lutris.
Code:
sudo cp -f /home/cablelane/example.list /etc/apt/sources.list.d/lutris.list
sudo apt update
sudo apt install lutris
Or you can start your favorite text editor(ie: gedit) from the command-line with sudo.
Code:
sudo gedit /etc/apt/sources.list.d/lutris.list (past/replace everything in the file)
sudo apt update
sudo apt install lutris
 
Last edited:


Latest posts

Top