[Bug 844478] [NEW] apt upgrade exits on error with slapd_2.4.21-0ubuntu5.5_amd64.deb

datakid datakid at gmail.com
Thu Sep 8 03:39:35 UTC 2011


Public bug reported:

When I do either apt-get update; apt-get upgrade or aptitude upgrade,
the process exits on error without completing fully.

The error is:

72 packages upgraded, 1 newly installed, 2 to remove and 0 not upgraded.
Need to get 0B/116MB of archives. After unpacking 42.2MB will be used.
Do you want to continue? [Y/n/?] 
Writing extended state information... Done
Extracting templates from packages: 100%
Preconfiguring packages ...
Unknown value for slapd/dump_database: when needed	
Please report!
slapd failed to preconfigure, with exit status 1
(Reading database ... 119566 files and directories currently installed.)
Preparing to replace slapd 2.4.21-0ubuntu5.3 (using .../slapd_2.4.21-0ubuntu5.5_amd64.deb) ...
Unknown value for slapd/dump_database: when needed	
Please report!
dpkg: error processing /var/cache/apt/archives/slapd_2.4.21-0ubuntu5.5_amd64.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/slapd_2.4.21-0ubuntu5.5_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
dpkg: dependency problems prevent configuration of slapd:
 slapd depends on libldap-2.4-2 (= 2.4.21-0ubuntu5.3); however:
  Version of libldap-2.4-2 on system is 2.4.21-0ubuntu5.5.
dpkg: error processing slapd (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 slapd
Reading package lists... Done             
Building dependency tree       
Reading extended state information      
Initializing package states... Done
Writing extended state information... Done

** Affects: openldap (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to openldap in Ubuntu.
https://bugs.launchpad.net/bugs/844478

Title:
  apt upgrade exits on error with slapd_2.4.21-0ubuntu5.5_amd64.deb

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/844478/+subscriptions



More information about the Ubuntu-server-bugs mailing list