fixing broken packages for wine linux code example

Example 1: The following packages have unmet dependencies: winehq-stable : Depends: wine-stable (= 5.0.2~focal) E: Unable to correct problems, you have held broken packages.

wget -nc https://dl.winehq.org/wine-builds/Release.key

 sudo apt-key add Release.key

 sudo apt-add-repository https://dl.winehq.org/wine-builds/ubuntu/

Example 2: The following packages have unmet dependencies: winehq-stable : Depends: wine-stable (= 5.0.2~focal) E: Unable to correct problems, you have held broken packages.

sudo apt-add-repository --remove 'deb https://download.opensuse.org/repositories/Emulators:/Wine:/Debian/Ubuntu_18.10_standard ./'

Tags:

Misc Example