I have uninstalled wine after upgrading from 14.04 and now it's not installable anymore:
sudo apt install wine1.6
[..]
The following packages have unmet dependencies:
wine1.6 : Depends: wine1.6-i386 (= 1:1.6.2-0ubuntu14)
Recommends: fonts-droid but it is not installable
E: Unable to correct problems, you have held broken packages.
When I'm tracing the issue, it looks like the library libldap-2.4-2:i386
doesn't seem to be installable. This begs the question, why d you even need to install a wine 386 version?
Is it intentional that wine is not installable without removing libreoffice and other packages that have the depencency libldap-2.4-2
in an amd64 version?
$ sudo apt update
Hit:1 http://ch.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://archive.canonical.com xenial InRelease
Hit:3 http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu trusty InRelease
Hit:4 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial InRelease
Get:5 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Ign:6 http://security.ubuntu.com/ubuntu xenial-security/main Sources
Ign:7 http://security.ubuntu.com/ubuntu xenial-security/restricted Sources
Ign:8 http://security.ubuntu.com/ubuntu xenial-security/universe Sources
Ign:9 http://security.ubuntu.com/ubuntu xenial-security/multiverse Sources
Ign:10 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
Ign:11 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages
Ign:12 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en
Get:13 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [68.0 kB]
Get:14 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [43.1 kB]
Ign:15 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages
Ign:16 http://security.ubuntu.com/ubuntu xenial-security/restricted i386 Packages
Ign:17 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en
Ign:18 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 DEP-11 Metadata
Ign:19 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages
Ign:20 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages
Ign:21 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en
Get:22 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [25.4 kB]
Get:23 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [31.8 kB]
Ign:24 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages
Ign:25 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages
Ign:26 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en
Get:27 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 DEP-11 Metadata [212 B]
Ign:28 http://security.ubuntu.com/ubuntu xenial-security/multiverse DEP-11 64x64 Icons
Ign:6 http://security.ubuntu.com/ubuntu xenial-security/main Sources
Ign:7 http://security.ubuntu.com/ubuntu xenial-security/restricted Sources
Ign:8 http://security.ubuntu.com/ubuntu xenial-security/universe Sources
Ign:9 http://security.ubuntu.com/ubuntu xenial-security/multiverse Sources
Ign:10 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages
Ign:11 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages
Ign:12 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en
Ign:15 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages
Ign:16 http://security.ubuntu.com/ubuntu xenial-security/restricted i386 Packages
Ign:17 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en
Ign:18 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 DEP-11 Metadata
Ign:19 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages
Ign:20 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages
Ign:21 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en
Ign:24 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages
Ign:25 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages
Ign:26 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en
Ign:28 http://security.ubuntu.com/ubuntu xenial-security/multiverse DEP-11 64x64 Icons
Get:6 http://security.ubuntu.com/ubuntu xenial-security/main Sources [64.9 kB]
Get:7 http://security.ubuntu.com/ubuntu xenial-security/restricted Sources [1'872 B]
Get:8 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [18.6 kB]
Get:9 http://security.ubuntu.com/ubuntu xenial-security/multiverse Sources [642 B]
Get:10 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [250 kB]
Get:11 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [241 kB]
Get:12 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en [116 kB]
Get:15 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 Packages [11.7 kB]
Get:16 http://security.ubuntu.com/ubuntu xenial-security/restricted i386 Packages [11.7 kB]
Get:17 http://security.ubuntu.com/ubuntu xenial-security/restricted Translation-en [2'044 B]
Err:18 http://security.ubuntu.com/ubuntu xenial-security/restricted amd64 DEP-11 Metadata
Could not open file /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_xenial-security_restricted_dep11_Components-amd64.yml.gz - open (13: Permission denied) [IP: 91.189.88.161 80]
Get:19 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [83.4 kB]
Get:20 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [78.9 kB]
Get:21 http://security.ubuntu.com/ubuntu xenial-security/universe Translation-en [45.6 kB]
Get:24 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 Packages [2'941 B]
Get:25 http://security.ubuntu.com/ubuntu xenial-security/multiverse i386 Packages [3'128 B]
Get:26 http://security.ubuntu.com/ubuntu xenial-security/multiverse Translation-en [1'053 B]
Ign:28 http://security.ubuntu.com/ubuntu xenial-security/multiverse DEP-11 64x64 Icons
Fetched 871 kB in 8s (103 kB/s)
Reading package lists... Done
E: Failed to fetch http://security.ubuntu.com/ubuntu/dists/xenial-security/restricted/dep11/Components-amd64.yml Could not open file /var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_xenial-security_restricted_dep11_Components-amd64.yml.gz - open (13: Permission denied) [IP: 91.189.88.161 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Best Answer
Turned out it was an inconsistent state of my 16.04. I don't know how I got there (since I don't really use ppas). However installing wine 1.6 is possible. You can try to resolve the problem with
aptitude
. Just useR#
(where # has to be replaced by the number that you see on your screen, in my case 6) to resolve issues.According to my Debian-savvy friend downgrading of packages doesn't have a high priority (which means that you will normally not see that as a solution).
As you can see there, after rejecting the first solution we get to a point where libldap will be "downgraded". However it doesn't look like a real downgrade. It looks more like it's pushed towards an official version.