Cannot install wine in Mint 20.2 or 20.3

Questions about Wine on Linux
Locked
edmund
Newbie
Newbie
Posts: 3
Joined: Fri Sep 16, 2016 10:14 am

Cannot install wine in Mint 20.2 or 20.3

Post by edmund »

Cannot install wine in Mint 20.2 or 20.3

The repositories don't install wine and the version here giving errors but no info how to solve it.

-----------
ed@ed-Z170X-Gaming-3-SSD:~$ sudo apt install --install-recommends winehq-devel
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
winehq-devel : Depends: wine-devel (= 8.8~lunar-1)
E: Unable to correct problems, you have held broken packages.
------------------------

What can I do now?
jkfloris
Level 12
Level 12
Posts: 3141
Joined: Thu Aug 14, 2014 10:10 am

Re: Cannot install wine in Mint 20.2 or 20.3

Post by jkfloris »

winehq-devel : Depends: wine-devel (= 8.8~lunar-1)
Linux Mint 20 is based on Ubuntu 20.04 (Focal Fossa).
Remove the winehq-lunar.sources file from /etc/apt/sources.list.d/,
download the winehq-focal.sources repository file and try again.

Code: Select all

sudo rm /etc/apt/sources.list.d/winehq-lunar.sources
sudo wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/focal/winehq-focal.sources
sudo apt update
sudo apt install --install-recommends winehq-devel
Locked