I tryed to install wine 1.6 from terminal but I always have this error, can someone help me??
giovanni@giovanni-X551CAP:~$ sudo apt-get install wine1.6
Reading package lists... Done
Building dependency tree... 50%
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.6 : Depends: wine1.6-amd64 (= 1:1.6.2-0ubuntu4)
Depends: wine1.6-i386 (= 1:1.6.2-0ubuntu4)
Recommends: winbind but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
sudo apt-get install wine1.6-amd64 wine1.6-i386
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.6-i386:i386 : Depends: libgphoto2-6:i386 (>= 2.5.2) but it is not going to be installed
Depends: libgphoto2-port10:i386 (>= 2.5.2) but it is not going to be installed
Depends: libldap-2.4-2:i386 (>= 2.4.7) but it is not going to be installed
Recommends: libosmesa6:i386 but it is not going to be installed
Recommends: libsane:i386 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
uname -a; lsb_release -a; apt-cache policy wine1.6
Linux giovanni-X551CAP 3.19.0-30-generic #34~14.04.1-Ubuntu SMP Fri Oct 2 22:09:39 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty
wine1.6:
Installed: (none)
Candidate: 1:1.6.2-0ubuntu4
Version table:
1:1.6.2-0ubuntu4 0
500 http://archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
You have a break in your the dependency chain. Why? That's why:
apt-cache policy libgphoto2-6:i386 libgphoto2-6
givesAs you can see, you have only one installation candidate for
libgphoto2-6:i386
with the version2.5.3.1-1ubuntu2
. But the version oflibgphoto2-6:i386
have to be exact the same as forlibgphoto2-6
and this is2.5.3.1-1ubuntu2.2
not version2.5.3.1-1ubuntu2
. Correct withEarlier you had enabled
trusty-updates
, this channel contains the version2.5.3.1-1ubuntu2.2
for both packages. You could also re-enabletrusty-updates
.Open Software & Updates and the tab Updates and activate
trusty-updates
as you can see in the screenshot (ok, it's a Wily screenshot and not Trusty).