I have been trying to install wine
but I encountered issues like
The following packages have unmet dependencies:
winehq-stable : Depends: wine-stable (= 3.0.1~xenial)
E: Unable to correct problems, you have held broken packages.
and got solutions from How can I fix apt error "W: Target Packages ... is configured multiple times"? and How do I resolve unmet dependencies after adding a PPA? but nothing solved it.
So I read somewhere that you can install wine through playonlinux
from. So I installed wine
using this reference. However, I am unable to figure out how to install wine
from playonlinux
.
So I found it from PlayOnLinux cannot find wine (from Wine) and ran
sudo apt-get install wine
but I get this error:
The following packages have unmet dependencies:
wine : Depends: wine1.6
E: Unable to correct problems, you have held broken packages.
How to resolve?
UPDATES -
@Norbert
@ David
The output of the commands is below:
sudo apt-get install playonlinux
...
sudo apt-get install -f
...
$ apt-cache policy "$(dpkg -S "$(which wine)" | cut -d : -f 1)"
...
N: unable to locate package
$ wine --version
...
wine: command not found
sudo apt-get install playonlinux
,sudo apt-get install -f
,apt-cache policy \
dpkg -S $(which wine)`,
wine --version`. – N0rbert Jun 15 '18 at 08:59apt-cache policy "$(dpkg -S "$(which wine)" | cut -d : -f 1)"
would be better. – David Foerster Jun 15 '18 at 09:05wine
executable could you please [edit] your question to include the output ofapt-cache policy wine\*
? And could you please post text files, dialogue messages, and program output listings as text, not as images? To achieve the latter two you can either 1) select, copy & paste the dialogue text or terminal content or 2) save the program output to a file and use that. Longer listings (the editor will tell you what’s too long) should be uploaded to a pastie service and linked to in the question. Thanks. – David Foerster Jun 16 '18 at 00:07