Comment 4 for bug 994533

Revision history for this message
Ulli Horlacher (framstag) wrote : Re: [Bug 994533] Re: cannot install ia32-libs on Ubuntu 12.04 x86_64

On Fri 2012-05-04 (20:11), Steve Langasek wrote:

> > root@eduroam1:~# dpkg-query -f='${PackageSpec}\t${Version}\n${Conffiles}\n' -W 'libldap-2.4-2:*'
> > libldap-2.4-2 2.4.28-1.1ubuntu4
> > /etc/ldap/ldap.conf 7fac807f65d84394410881bc16f1198a
> > libldap-2.4-2:i386
> >
>
> The correct output is:
>
> libldap-2.4-2 2.4.28-1.1ubuntu4
> /etc/ldap/ldap.conf 0b3f4d19d88498314478273ce10b0a70
> libldap-2.4-2:i386
>
> Somehow, you have a corrupted entry in your dpkg database for this
> conffile.

This sounds bad (for me).

> Can you try running 'sudo apt-get install --reinstall libldap-2.4-2' to see
> if that fixes the issue?

root@eduroam1:~# apt-get install --reinstall libldap-2.4-2
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 libcurl3:i386 : Depends: libldap-2.4-2:i386 (>= 2.4.7) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

root@eduroam1:~# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libldap-2.4-2:i386
The following NEW packages will be installed:
  libldap-2.4-2:i386
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
297 not fully installed or removed.
Need to get 0 B/186 kB of archives.
After this operation, 515 kB of additional disk space will be used.
Do you want to continue [Y/n]?
(Reading database ... 25353 files and directories currently installed.)
Unpacking libldap-2.4-2:i386 (from .../libldap-2.4-2_2.4.28-1.1ubuntu4_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libldap-2.4-2_2.4.28-1.1ubuntu4_i386.deb (--unpack):
 conffile './etc/ldap/ldap.conf' is not in sync with other instances of the same package
No apport report written because MaxReports is reached already
                                                              Processing triggers for man-db ...
Errors were encountered while processing:
 /var/cache/apt/archives/libldap-2.4-2_2.4.28-1.1ubuntu4_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

--
Ullrich Horlacher Server- und Arbeitsplatzsysteme
Rechenzentrum E-Mail: <email address hidden>
Universitaet Stuttgart Tel: ++49-711-685-65868
Allmandring 30 Fax: ++49-711-682357
70550 Stuttgart (Germany) WWW: http://www.rus.uni-stuttgart.de/
REF: <email address hidden>