According to WinHQ :Installing WineHQ packages:

  1. sudo dpkg --add-architecture i386
  2. wget -nc https://dl.winehq.org/wine-builds/winehq.key
  3. sudo apt-key add winehq.key

Until here: everything is fine.

  1. sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'


sudo apt install --install-recommends winehq-stable
[sudo] password for XXXX:         
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-stable : Depends: wine-stable (= 6.0.0~focal-1)
E: Unable to correct problems, you have held broken packages**

Suggested by other users:

  1. Run Synaptic -> fix broken packages -> did not work
  2. Run Synaptic -> find all wine dependencies -> delete all -> repeat installation process -> did not work



Replace bionic codename with focal:

sudo add-apt-repository -r 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main'
sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
sudo apt update

Just search for Wine on the App Manager that comes default with Elementary OS

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.