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

Bug #844478 reported by datakid
6
This bug affects 1 person
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_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

Revision history for this message
James Page (james-page) wrote :

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/ReportingBugs.

Changed in openldap (Ubuntu):
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
datakid (datakid) wrote :

I tried running apport-collect as you suggested and I got this output:

datakid@thailand:~$ sudo apport-collect 844478
Package openldap not installed and no hook available, ignoring

*** Updating problem report

No additional information collected.

Press any key to continue...

No pending crash reports. Try --help for more information.

I tried another upgrade and apport-collect but got the same result?

cheers
L.

Revision history for this message
datakid (datakid) wrote :

I'm also concerned that this is given a low importance despite being a common piece of software on an LTS server release. Since it's "blocking" upgraes, which will be security upgrades, I would suggest that this is actually of higher importance.

Revision history for this message
datakid (datakid) wrote :

This should be closed - I solved the problem by going around it, and can't reproduce it.

description: updated
Changed in openldap (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.