I tried to follow the steps listed here https://www.linux.com/blog/wine-1735-released-how-install-ubuntudebianlinux-mint
After adding the PPA and running apt-get update
, when I try to install wine with:
sudo apt-get install -y wine1.7
I get this output:
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:
wine1.7 : Depends: wine1.7-amd64 (= 1:1.7.44-0ubuntu1)
Depends: wine1.7-i386 (= 1:1.7.44-0ubuntu1)
E: Unable to correct problems, you have held broken packages.
I also read this: Installing Wine on Ubuntu 15.10, but nothing seems to help.
Also, (I don't know if I should mention this in another question or if it is related to the current error I get) I had installed winetricks and it worked without any problem after installing "playonlinux" (I don't know if the problem started BECAUSE I installed playonlinux since I didn't use winetricks for days prior to trying to install playonlinux so the underlying problem may or may not have been created prior to this installation) I couldn't find winetricks on my apps list and right clicking on .exe files would pop winetrickes on "Open with" option...
Last but not least, in /usr/bin/
there is no winetricks executable, only a winetricks shell script.
From https://wiki.winehq.org/Ubuntu:
If your system is 64 bit, enable 32 bit architecture (if you haven't already):
Add the repository:
Update the package list:
Then install (example for the development branch):
If you prefer to use the devel (not Staging) branch, replace
winehq-staging
withwinehq-devel
in the line above.If apt-get complains about missing dependencies, install them, then repeat the last two steps (update and install).
To install the latest version of Winetricks (recommended, the version in the repos is old), run: