I'm on Ubuntu 20.04.3 LTS and trying to install WineHQ using the instructions on the official website: https://wiki.winehq.org/Ubuntu
tb@tb-Legion-Y540-17IRH:~$ sudo add-apt-repository 'deb https://dl.winehq.org/wine-builds/ubuntu/ focal main'
[sudo] password for tb:
Hit:1 http://archive.canonical.com/ubuntu focal InRelease
Hit:2 http://se.archive.ubuntu.com/ubuntu focal InRelease
Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:4 http://se.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:5 http://se.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:6 https://dl.winehq.org/wine-builds/ubuntu focal InRelease
Hit:7 https://dl.winehq.org/wine-builds/ubuntu hirsute InRelease
Reading package lists... Done
Ubuntu 20.04.3 LTS is called Focal, while Hirsute refers to Ubuntu 21.04 (which I do NOT have). Notice that the seventh and last Hit is the only one that is for hirsute. I only care because of the error that comes in the next step:
tb@tb-Legion-Y540-17IRH:~$ 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.2~hirsute-1)
E: Unable to correct problems, you have held broken packages.
The missing dependency seems to refer to something that's connected to Hirsute, which is a version of Ubuntu I don't have.
What's wrong and how do I fix it?
Best regards, a non-coder who needs one Windows application for work