0

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

playonlinux-1

@ David

playonlinux-2


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
  • 1
    It is unclear what you exactly did. Please add output of the sudo apt-get install playonlinux, sudo apt-get install -f, apt-cache policy `dpkg -S $(which wine)` , wine --version. – N0rbert Jun 15 '18 at 8:59
  • 1
    @N0rbert: apt-cache policy "$(dpkg -S "$(which wine)" | cut -d : -f 1)" would be better. – David Foerster Jun 15 '18 at 9:05
  • Thanks Norbert and david, i have added the screenshots of the output of your commands – Techdive Jun 15 '18 at 9:26
  • Still unclear. @DavidFoerster, thank you for idea. Techdive, please add the information to your question (copy and paste commands exactly). – N0rbert Jun 15 '18 at 10:04
  • If there's no wine executable could you please edit your question to include the output of apt-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 0:07

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.