OS: Ubuntu 18.04 LTS
Steps according to https://wiki.winehq.org/Ubuntu:
- sudo dpkg --add-architecture i386
- wget -nc https://dl.winehq.org/wine-builds/winehq.key
- sudo apt-key add winehq.key Until here: everything is fine.
- sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ bionic main' Output:
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
Help!
sudo apt update
to update the package "database" with information from the new repository, so apt van resolve dependencies. – Soren A Mar 14 '21 at 22:36apt-cache policy wine-stable
. I see a mention of focal (the code name for 20.04) in the output, which is odd. – popey Mar 14 '21 at 23:55sudo apt install wine-stable
The universe repo has version 3.0-1ubuntu1 – Organic Marble Mar 15 '21 at 01:00