When I was trying to install wine on Ubuntu 20.04.2 LTS, I get this error:
jayden@UbuntuInstall:~$ 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.1~hirsute-1)
E: Unable to correct problems, you have held broken packages.
I have tried installing this dependency to then get another error saying I need more dependencies.
jayden@UbuntuInstall:~$ sudo apt install wine-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:
wine-stable : Depends: libc6 (>= 2.33) but 2.31-0ubuntu9.2 is to be installed
Depends: wine-stable-i386 (= 6.0.1~hirsute-1)
Depends: wine-stable-amd64 (= 6.0.1~hirsute-1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
And when I go deeper into it I keep getting more missing dependency errors. I also don't know how to remove the broken packages as everything I have tried hasn't worked.
I don't know how to get the older version of wine that's intended for 20.04 as that may be the issue.
Does anyone know how I can resolve this.