Essayer la solution user1261084:
$ Sudo 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.4 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Essayer encore une fois la solution @ eric-carvalho
$ apt-cache policy libgnutls26
libgnutls26:
Installed: 2.12.19-1
Candidate: 2.12.19-1
Version table:
*** 2.12.19-1 0
100 /var/lib/dpkg/status
2.12.14-5ubuntu3.1 0
500 http://archive.ubuntu.com/ubuntu/ precise-updates/main AMD64 Packages
2.12.14-5ubuntu3 0
500 http://archive.ubuntu.com/ubuntu/ precise/main AMD64 Packages
J'ai été supprimé du dépôt ppa:ubuntu-wine/ppa
(Centre des logiciels> Édition> Sources des logiciels> Autres logiciels et suppression manuelle), puis je suis allé sur l'onglet Ubuntu Software et remplacé Download from
par Main Server
comme suggéré par l'utilisateur1261084.
après cela, j'ai essayé de rétrograder libgnutls26
vers la version 2.12.14-5ubuntu3.1
:
$ Sudo apt-get install libgnutls26=2.12.14-5ubuntu3.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
gnutls-bin
The following packages will be DOWNGRADED:
libgnutls26
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 8 not upgraded.
Need to get 459 kB of archives.
After this operation, 326 kB disk space will be freed.
Do you want to continue [Y/n]? Y
Get:1 http://archive.ubuntu.com/ubuntu/ precise-updates/main libgnutls26 AMD64 2.12.14-5ubuntu3.1 [459 kB]
Fetched 459 kB in 5s (86.8 kB/s)
dpkg: warning: downgrading libgnutls26 from 2.12.19-1 to 2.12.14-5ubuntu3.1.
(Reading database ... 267654 files and directories currently installed.)
Preparing to replace libgnutls26 2.12.19-1 (using .../libgnutls26_2.12.14-5ubuntu3.1_AMD64.deb) ...
Unpacking replacement libgnutls26 ...
Setting up libgnutls26 (2.12.14-5ubuntu3.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
cela a fonctionné ainsi:
$ Sudo apt-get install wine
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
autopoint rpm librpmbuild2 librpmsign0
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
fonts-droid fonts-horai-umefont libasn1-8-heimdal:i386 libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386 libcapi20-3
libcapi20-3:i386 libcups2:i386 libexif12:i386 libgcrypt11:i386 libgd2-xpm:i386 libgif4:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386
libglapi-mesa:i386 libglu1-mesa:i386 libgnutls26:i386 libgpg-error0:i386 libgphoto2-2:i386 libgphoto2-port0:i386 libgssapi-krb5-2:i386
libgssapi3-heimdal:i386 libgstreamer-plugins-base0.10-0:i386 libgstreamer0.10-0:i386 libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386
libheimntlm0-heimdal:i386 libhx509-5-heimdal:i386 libieee1284-3:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-26-heimdal:i386 libkrb5-3:i386
libkrb5support0:i386 libldap-2.4-2:i386 libllvm3.0:i386 libltdl7:i386 libmpg123-0:i386 libopenal1:i386 liborc-0.4-0:i386 libp11-kit0:i386
libroken18-heimdal:i386 libsane:i386 libsasl2-2:i386 libsasl2-modules:i386 libssl1.0.0:i386 libtasn1-3:i386 libusb-0.1-4:i386 libv4l-0:i386
libv4lconvert0:i386 libwind0-heimdal:i386 libx11-xcb1:i386 libxcb-glx0:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxfixes3:i386
libxinerama1:i386 libxml2:i386 libxpm4:i386 libxrandr2:i386 libxslt1.1:i386 libxxf86vm1:i386 ttf-droid ttf-umefont wine-gecko1.4 wine-gecko1.4:i386
wine1.4 wine1.4-AMD64 wine1.4-common wine1.4-i386:i386 winetricks
Suggested packages:
cups-common:i386 rng-tools:i386 libgd-tools:i386 libglide3:i386 gnutls-bin:i386 gphoto2:i386 gtkam:i386 krb5-doc:i386 krb5-user:i386
libvisual-0.4-plugins:i386 gstreamer-codec-install:i386 gnome-codec-install:i386 gstreamer0.10-tools:i386 gstreamer0.10-plugins-base:i386 hpoj:i386
hplip:i386 libsane-extras:i386 sane-utils:i386 libsasl2-modules-otp:i386 libsasl2-modules-ldap:i386 libsasl2-modules-sql:i386
libsasl2-modules-gssapi-mit:i386 libsasl2-modules-gssapi-heimdal:i386 dosbox
Recommended packages:
xml-core:i386 gettext:i386
The following packages will be REMOVED:
alien debhelper gettext gnome-common intltool intltool-debian po-debconf
The following NEW packages will be installed:
fonts-droid fonts-horai-umefont libasn1-8-heimdal:i386 libavahi-client3:i386 libavahi-common-data:i386 libavahi-common3:i386 libcapi20-3
libcapi20-3:i386 libcups2:i386 libexif12:i386 libgcrypt11:i386 libgd2-xpm:i386 libgif4:i386 libgl1-mesa-dri:i386 libgl1-mesa-glx:i386
libglapi-mesa:i386 libglu1-mesa:i386 libgnutls26:i386 libgpg-error0:i386 libgphoto2-2:i386 libgphoto2-port0:i386 libgssapi-krb5-2:i386
libgssapi3-heimdal:i386 libgstreamer-plugins-base0.10-0:i386 libgstreamer0.10-0:i386 libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386
libheimntlm0-heimdal:i386 libhx509-5-heimdal:i386 libieee1284-3:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-26-heimdal:i386 libkrb5-3:i386
libkrb5support0:i386 libldap-2.4-2:i386 libllvm3.0:i386 libltdl7:i386 libmpg123-0:i386 libopenal1:i386 liborc-0.4-0:i386 libp11-kit0:i386
libroken18-heimdal:i386 libsane:i386 libsasl2-2:i386 libsasl2-modules:i386 libssl1.0.0:i386 libtasn1-3:i386 libusb-0.1-4:i386 libv4l-0:i386
libv4lconvert0:i386 libwind0-heimdal:i386 libx11-xcb1:i386 libxcb-glx0:i386 libxcomposite1:i386 libxcursor1:i386 libxdamage1:i386 libxfixes3:i386
libxinerama1:i386 libxml2:i386 libxpm4:i386 libxrandr2:i386 libxslt1.1:i386 libxxf86vm1:i386 ttf-droid ttf-umefont wine wine-gecko1.4
wine-gecko1.4:i386 wine1.4 wine1.4-AMD64 wine1.4-common wine1.4-i386:i386 winetricks
0 upgraded, 74 newly installed, 7 to remove and 8 not upgraded.
Need to get 143 MB of archives.
After this operation, 408 MB of additional disk space will be used.
Do you want to continue [Y/n]? Y
...
Setting up wine1.4-common (1.4-0ubuntu4.1) ...
Setting up wine1.4-AMD64 (1.4-0ubuntu4.1) ...
Setting up wine1.4-i386:i386 (1.4-0ubuntu4.1) ...
Setting up wine1.4 (1.4-0ubuntu4.1) ...
Setting up wine (1.4-0ubuntu4.1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Vérification de la version de Wine (installée: 1.4-0ubuntu4.1)
$ apt-cache policy wine
wine:
Installed: 1.4-0ubuntu4.1
Candidate: 1.4-0ubuntu4.1
Version table:
*** 1.4-0ubuntu4.1 0
500 http://archive.ubuntu.com/ubuntu/ precise-updates/universe AMD64 Packages
100 /var/lib/dpkg/status
1.4-0ubuntu4 0
500 http://archive.ubuntu.com/ubuntu/ precise/universe AMD64 Packages
Maintenant que Wine 1.4 est installé, j'ai ajouté à nouveau le dépôt ppa:ubuntu-wine/ppa
et:
$ Sudo apt-get install wine1.5
(...)
$ apt-cache policy wine
wine:
Installed: 1.5.13-0ubuntu1
Candidate: 1.5.13-0ubuntu1
Version table:
*** 1.5.13-0ubuntu1 0
500 http://ppa.launchpad.net/ubuntu-wine/ppa/ubuntu/ precise/main AMD64 Packages
100 /var/lib/dpkg/status
1.4-0ubuntu4.1 0
500 http://mirror.globo.com/ubuntu/archive/ precise-updates/universe AMD64 Packages
1.4-0ubuntu4 0
500 http://mirror.globo.com/ubuntu/archive/ precise/universe AMD64 Packages
Donc, finalement j'ai vin 1.5 installé (^ - ^) merci pour Eric Carvalho et ser1261084 aide.
Il semble que multiarch n'est pas activé. Cela peut se produire si vous mettez à niveau Ubuntu à partir d’une version précédente au lieu d’effectuer une nouvelle installation.
Exécutez ce qui suit dans un terminal:
echo "foreign-architecture i386" | Sudo tee /etc/dpkg/dpkg.cfg.d/multiarch
Sudo chmod 644 /etc/dpkg/dpkg.cfg.d/multiarch
Ensuite, essayez d'installer à nouveau le vin:
Sudo apt-get update
Sudo apt-get install wine1.5
Si vous avez toujours des problèmes de dépendance, c'est peut-être à cause de ce bogue . wine1.5-AMD64
recommande gettext
, wine1.5-i386:i386
recommande gettext:i386
et les deux gettext
sont en conflit. J'ai réussi à installer wine1.5
via aptitude
, installez-le s'il n'est pas déjà installé (Sudo apt-get install aptitude
):
Sudo aptitude install wine1.5 gettext:i386-
Le signe de fin moins (-) indiquera à aptitude
de supprimer (ou de supprimer l'installation de) gettext:i386
.
EDIT:
Vous avez libgnutls26
version 2.12.19, probablement installée à partir d'un ppa car la dernière version disponible depuis ubuntu repo est 2.12.14. wine
dépend de libgnutls26:i386
, qui doit avoir la même version que libgnutls26
, mais 2.12.19 n'est pas disponible pour l'installation. Vous pouvez essayer de télécharger et d'installer manuellement libgnutls26:i386
version 2.12.19 ou de supprimer le ppa qui a installé libgnutls26
version 2.12.19.
Veuillez exécuter apt-cache policy libgnutls26
et publier le résultat. Je peux peut-être vous aider à trouver une solution.
J'ai eu le même problème, mais je n'ai plus eu de problèmes après avoir exécuté les commandes suivantes:
Sudo dpkg --configure -a
Sudo apt-get install -f
Puis j'ai essayé avec succès
Sudo apt-get install wine1.5
Allez dans Ubuntu Software Center> Édition> Sources de logiciels> Autres logiciels.
et supprimez manuellement ppa: ubuntu-wine/ppa Ensuite, allez dans l’onglet Logiciel Ubuntu et modifiez:
"Télécharger de" vers "Serveur principal"
Ensuite..
Sudo apt-get update && Sudo apt-get install wine
Travaillé pour moi, bonne chance!