0

I am running Ubuntu and trying to install Wine. When I run sudo apt-get install wine, it gives the following error:

The following packages have unmet dependencies:
 wine : Depends: wine1.4 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I have tried using the -f flag and this doesn't help. Ubuntu software centre returns a similar error.

Edit: Here is what is returned when trying to run sudo apt-get install wine1.4:

$ sudo apt-get install wine1.4
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.
microbug
  • 247

1 Answers1

0

Try this file from WineHQ and run it as root or with the sudo command

  1. Download the dependency build file from here.
  2. Copy and paste it into a gedit and save it with a .sh extension
  3. Open terminal and run it as root i.e:

    sudo sh filename.sh
    
Seth
  • 59,332
Zuko
  • 1,277