after using the tutorial of install wine to download wine:
$ sudo dpkg --add-architecture i386
$ sudo wget -nc -O /usr/share/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
and then
sudo wget -nc -P /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/focal/winehq-focal.sources cause my ubuntu version is 20.04
$ sudo apt update
everything works fine untill the point where I have to download wine stable branch,
sudo apt install --install-recommends winehq-stable
after doing this I keep getting the same error:
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 (= 8.0.0.0~jammy-1)
E: Unable to correct problems, you have held broken packages.
Can anyone help me out here? I've tried so many forums and methods but none of them worked out.
sudo apt update
because your sources changes. Finally, you can simply install Wine from the Ubuntu Software application (and it will work). You might also complain to the author of that page that their tutorial is both needlessly complex...and doesn't work. – user535733 Mar 09 '23 at 22:48