I have run through the steps posted on various websites a dozen times and I keep getting the same error. So I added the key, and the repo, here it is in my /etc/apt/sources.list file

deb https://dl.winehq.org/wine-builds/ubuntu/ focal main

But then after an apt update, I attempt to install Wine 6.0 with the following command, and it errors out every time. The steps online that mention this issue all say it happens if you have the wrong repo added, but I am on focal so that should be correct?

sudo apt install --install-recommends winehq-stable
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.

Your Answer

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

Browse other questions tagged or ask your own question.