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 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?
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