Dependency error while installing WINE [duplicate]
Every time I try to install "WINE" VIA the Software Center on Ubuntu 12.10, I get this error:
The following packages have unmet dependencies:
wine1.4: PreDepends: dpkg (>= 1.15.7.2~) but 1.16.7ubuntu6 is to be installed
Depends: libc6 (>= 2.14) but 2.15-0ubuntu20 is to be installed
Depends: wine1.4-amd64 (= 1.4.1-0ubuntu1) but 1.4.1-0ubuntu1 is to be installed
Depends: wine1.4-i386 (= 1.4.1-0ubuntu1) but it is not going to be installed
When I try installing it VIA the terminal, this is what I get:
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.4 : Depends: wine1.4-i386 (= 1.4.1-0ubuntu1) but it is not installable
Recommends: gnome-exe-thumbnailer but it is not going to be installed or
kde-runtime but it is not going to be installed
Recommends: ttf-droid
Recommends: ttf-mscorefonts-installer but it is not going to be installed
Recommends: ttf-umefont but it is not going to be installed
Recommends: ttf-unfonts-core but it is not going to be installed
Recommends: winbind but it is not going to be installed
Recommends: winetricks but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
how do I fix this?
Solution 1:
I tried to make the multiarch file as @dchampagne suggested but it didn't work. To get it to work properly I had to do this:
sudo dpkg --add-architecture i386
That cleared everything up for me. Looking elsewhere on the interweb this is apparently a really common problem with 12.10.
Solution 2:
I had to combine a few posts to make it work, but here's what helped me successfully:
sudo apt-get install ppa-purge
sudo add-apt-repository ppa:ubuntu-wine/ppa && sudo apt-get update
sudo apt-get install wine1.5
I'm running Ubuntu 12.10 via Windows install.