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
 


wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
8,627
Reaction score
7,586
Credits
35,284
G'day @Cablelane and welcome to linux.org :)

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

Good luck

Chris Turner
wizardfromoz
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
5,921
Reaction score
4,411
Credits
43,516
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?
 
OP
C

Cablelane

New Member
Joined
Jan 7, 2021
Messages
9
Reaction score
0
Credits
75
Sorry for delay. Here's the response:
bash: /etc/apt/sources.list.d/lutris.list: Permission denied
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
5,921
Reaction score
4,411
Credits
43,516
Can you just do the following.
Code:
cat /etc/apt/sources.list.d/lutris.list
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
5,921
Reaction score
4,411
Credits
43,516
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
 
OP
C

Cablelane

New Member
Joined
Jan 7, 2021
Messages
9
Reaction score
0
Credits
75
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!
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
5,921
Reaction score
4,411
Credits
43,516
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
 
OP
C

Cablelane

New Member
Joined
Jan 7, 2021
Messages
9
Reaction score
0
Credits
75
Sorry, struggling here.

[email protected]:~$ sudo /etc/apt/sources.list.d/lutris.list
[sudo] password for brian:
sudo: /etc/apt/sources.list.d/lutris.list: command not found
[email protected]:~$ 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.
[email protected]:~$ 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.
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
5,921
Reaction score
4,411
Credits
43,516
What does that file look like now?
Code:
cat /etc/apt/sources.list.d/lutris.list
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
5,921
Reaction score
4,411
Credits
43,516
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
 
OP
C

Cablelane

New Member
Joined
Jan 7, 2021
Messages
9
Reaction score
0
Credits
75
User error I'm sure but:
[email protected]:~$ # deb-src http://ppa.launchpad.net/lutris-team/lutris/ubuntu bionic main
[email protected]:~$ 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.
[email protected]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.
[email protected]:~$
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
5,921
Reaction score
4,411
Credits
43,516
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
 

wizardfromoz

Administrator
Staff member
Gold Supporter
Joined
Apr 30, 2017
Messages
8,627
Reaction score
7,586
Credits
35,284
Back at #9, that should have been
Code:
sudo rm /etc/apt/sources.list.d/lutris.list

Just an FYI
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
5,921
Reaction score
4,411
Credits
43,516
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:
OP
C

Cablelane

New Member
Joined
Jan 7, 2021
Messages
9
Reaction score
0
Credits
75
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".
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
5,921
Reaction score
4,411
Credits
43,516
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:
MALIBAL Linux Laptops

Linux Laptops Custom Built for You
MALIBAL is an innovative computer manufacturer that produces high-performance, custom laptops for Linux.

For more info, visit: https://www.malibal.com

Members online


Latest posts

Top