I have the feeling that some new Linux users blindly cut and paste the commands on the Debian wiki. https://wiki.winehq.org/Debian
Is it an idea to replace:
Next add the repository to /etc/apt/sources.list or create a *.list under /etc/apt/sources.list.d/ with the following content:
deb https://dl.winehq.org/wine-builds/debian/ DISTRO main
with DISTRO being either wheezy, jessie, stretch, buster or sid
Next add the WineHQ repository:
Replace "stretch" with either wheezy, jessie, buster or sid according to your version.
echo "deb https://dl.winehq.org/wine-builds/debian/ stretch main" | sudo tee -a /etc/apt/sources.list.d/winehq.list
jkfloris wrote:I have the feeling that some new Linux users blindly cut and paste the commands on the Debian wiki.
I think you're right about that, but just substituting one of the distro names for DISTRO in the instructions won't solve that problem. Users will just copy and paste that blindly, and if they happen to be on a different version, will run into problems.
With the upcoming switch to the OBS builds I'm going to have to look at revising those pages anyway; I'll see what I can come up with.
I had to update that page today because of the new repository key, so I took the opportunity to tweak the instructions for adding the repository to /etc/apt/sources.list too. I think it's much clearer now.