apt upgrade exits on error with slapd_2.4.21-0ubuntu5.5_amd64.deb
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openldap (Ubuntu) |
Invalid
|
Low
|
Unassigned |
Bug Description
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_
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_
Unknown value for slapd/dump_
Please report!
dpkg: error processing /var/cache/
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
/var/cache/
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
Thank you for taking the time to report this bug and helping to make Ubuntu better. Please execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 844478
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https:/ /wiki.ubuntu. com/ReportingBu gs.