0

i'm using UBUNTU 14.04 , and i want to install wine1.6 since it the latest stable version , i tried from the command line

sudo apt-get install wine1.6

Les paquets suivants contiennent des dépendances non satisfaites :
 wine1.6 : Dépend: wine1.6-i386 (= 1:1.6.2-0ubuntu4)
           Recommande: winbind mais ne sera pas installé
E: Impossible de corriger les problèmes, des paquets défectueux sont en mode « garder en l'état ».

the error is in french , with a translator to english i get :

The following packages have unmet dependencies :
wine : Depends : wine1.6 but will not be installed or wine1.7 but will                                     
not be installed E: Unable to correct problems , defective packets are    
mode " keep state

when trying to install it from the software center i get this :

apt://wine1.7

    The following packages have unmet dependencies:
wine1.7: Depends: wine1.7-amd64 (= 1:1.7.50-0ubuntu1) but 1:1.7.50-0ubuntu1 is to be installed
         Depends: wine1.7-i386 (= 1:1.7.50-0ubuntu1) but it is a virtual package

apt://wine1.6
    The following packages have unmet dependencies:
    wine1.6: Depends: wine1.6-amd64 (= 1:1.6.2-0ubuntu4) but 1:1.6.2-0ubuntu4 is to be installed
             Depends: wine1.6-i386 (= 1:1.6.2-0ubuntu4) but it is a virtual package

Update : i have tried to install wine 1.6.2 from the source too

./configure
make 
sudo make install

after that it seems that wine haven't been installed because when typing wine i get :

wine : command not found

Any hints ?

The Beast
  • 383

5 Answers5

1

You have to do this:

 sudo add-apt-repository ppa:ubuntu-wine/ppa
 sudo apt-get update
 sudo apt-get install wine winetricks

and when it comes whit the screen push enter, and it might work fine this way.

Michael
  • 2,597
1

Run this command:

sudo dpkg --add-architecture i386

before you run

apt-get update

Then you will be able to install wine.

Daniel
  • 3,626
  • 3
  • 24
  • 46
wmbolle
  • 11
  • 1
0

This error occurs when you try to install a package with apt-get, because there is a conflict with an already installed package.

The solution to this problem is to install the package with aptitude rather than with apt-get . Just install aptitude with the command apt-get install aptitude, then just use aptitude to install the package you wanna install like this aptitude install your-package, aptitude will propose to install the right version of the package that are making problems.

Sidahmed
  • 1,146
0

The solution that worked for me (maybe it will work for you) is to run an update of ubuntu to another release , i have installed 15.10 and i was able to install wine witout any problems because i got fresh ppa.

The Beast
  • 383
-1

Some times i like to clean this up:

  • Using synaptic you can go into (Installed manually) and check the wine packages to unmark them as installed manually, so apt can resolve easier things.
  • doing apt-get clean && apt-get update -qq (qq is to silence the update)

  • Trying to purge the concerned wine packages and reinstall them. apt-get remove --purge wine1.6 wine1.6-i386 wine1.6-amd64

  • doing apt-get install -f will try to configure the remaining packages that previously failed to install, this may give you hints about which package to purge and try to reinstall, also the causes that made installation fail.

This may solve your problem.