0

I am trying to install wine on Ubuntu 15.04, I had it working before but I think something went wrong with 32 or 64 bit installations so I tried removing it to start again.

Now I am trying to install it again but running apt-get install wine

root@pc-ubuntu:/home/dav# apt-get install wine
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.
 wine : Depends: wine1.6 but it is not going to be installed
E: Unable to correct problems, you have held broken packages`

So I try to fix the broken packages with apt-get install -f

Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 to upgrade, 0 to newly install, 0 to remove and 2 not to upgrade.`

I have tried removing and adding the PPA, I have tried a load of other commands pointed out in the answer here How do I resolve unmet dependencies after adding a PPA? But none of them have worked either. I'm stuck, please any suggestions would be amazing to fix this as I would like to sort it before attempting to build the latest wine 1.8 from source. Thanks

Dav
  • 513

1 Answers1

1

None of your packages are broken. The wine dependencies are conflicting with each other. Uninstall existing version of wine (if exists) then install wine1.7 (there won't be such problem with wine1.7)

UPDATE: To install wine 1.7 on your case type these in your terminal:

sudo apt-add-repository ppa:ubuntu-wine/ppa

sudo apt-get update

sudo apt-get install wine1.7

Olimjon
  • 7,522