Can't install Wine

kc1di

Well-Known Member
Joined
May 14, 2021
Messages
1,135
Reaction score
950
Credits
8,122
Ok you need to go into software sources and remove the item that says deb signed by. Either disable that line or remove it.
Then run
Code:
sudo apt update
What happens.
and was there any output from the dpkg command?
 


OP
A
Joined
May 6, 2022
Messages
34
Reaction score
10
Credits
249
Ok you need to go into software sources and remove the item that says deb signed by. Either disable that line or remove it.
Then run
Code:
sudo apt update
What happens.
and was there any output from the dpkg command?
How do I remove the item? Can you give me step-by-step instructions?
 

kc1di

Well-Known Member
Joined
May 14, 2021
Messages
1,135
Reaction score
950
Credits
8,122
This Ask Ubuntu listing shows how.
I don't have Ubuntu installed at this time.
 

bob466

Well-Known Member
Joined
Oct 22, 2020
Messages
510
Reaction score
358
Credits
3,754
This doesn't work. Please see screenshot of my terminal below.
Yes the command does work...I used the same command to install wine in my MX Linux VM the other day.


You can also use the other command the Terminal tells you to use...just delete any other versions of wine first.
happy0035.gif
 

Lord Boltar

Well-Known Member
Joined
Nov 24, 2020
Messages
1,795
Reaction score
1,205
Credits
13,368
If you have previously installed a Wine package from another repository, please remove it and any packages that depend on it (e.g., wine-mono, wine-gecko, winetricks) before attempting to install the WineHQ packages, as they may cause dependency conflicts.

If your system is 64 bit, enable 32 bit architecture (if you haven't already):

Code:
sudo dpkg --add-architecture i386

Download and add the repository key:

Code:
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo mv winehq.key /usr/share/keyrings/winehq-archive.key

Add the repository:

Code:
wget -nc https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
sudo mv winehq-jammy.sources /etc/apt/sources.list.d/

Now run

Code:
sudo apt update

Code:
sudo apt install --install-recommends winehq-stable

after that is finished run

Code:
winecfg
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Staff online


Top