Comment 11 for bug 1304069

Revision history for this message
rod (e-6od-t) wrote : Re: [Bug 1304069] Re: package slapd 2.4.31-1+nmu2ubuntu8 failed to install/upgrade: ErrorMessage: subprocess installed post-installation script returned error exit status 1

Hi Ryan,

in fact this is blocking...
  And quite puzzling.

anytime I get into an update I get this

An error occurred.

The following details are provided:

E: slapd: subprocess installed post-installation script returned error
exit status 1

and this

(synaptic:20833): GLib-CRITICAL **: g_child_watch_add_full: assertion
'pid > 0' failed
Selecting previously unselected package libqgispython2.3.0.
(Reading database ... 498843 files and directories currently installed.)
Preparing to unpack
.../libqgispython2.3.0_2.3.0+git20140428+8120f30~saucy-ubuntugis1_amd64.deb
...
Unpacking libqgispython2.3.0
(2.3.0+git20140428+8120f30~saucy-ubuntugis1) ...
Selecting previously unselected package python-qgis-common.
Preparing to unpack
.../python-qgis-common_2.3.0+git20140428+8120f30~saucy-ubuntugis1_all.deb ...
Unpacking python-qgis-common
(2.3.0+git20140428+8120f30~saucy-ubuntugis1) ...
Setting up slapd (2.4.31-1+nmu2ubuntu8) ...
   Backing up /etc/ldap/slapd.d in
/var/backups/slapd-2.4.31-1+nmu2ubuntu3... done.
   Moving old database directories to /var/backups:

   Backup path
/var/backups/dc=georchestra,dc=org-2.4.31-1+nmu2ubuntu3.ldapdb exists.
Giving up...
dpkg: error processing package slapd (--configure):
  subprocess installed post-installation script returned error exit status 1
Setting up libqgispython2.3.0
(2.3.0+git20140428+8120f30~saucy-ubuntugis1) ...
Setting up python-qgis-common
(2.3.0+git20140428+8120f30~saucy-ubuntugis1) ...
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up slapd (2.4.31-1+nmu2ubuntu8) ...
   Backing up /etc/ldap/slapd.d in
/var/backups/slapd-2.4.31-1+nmu2ubuntu3... done.
   Moving old database directories to /var/backups:

   Backup path
/var/backups/dc=georchestra,dc=org-2.4.31-1+nmu2ubuntu3.ldapdb exists.
Giving up...
dpkg: error processing package slapd (--configure):
  subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
  slapd

Rod

On 28/04/14 20:02, Ryan Tandy wrote:
> On Mon, Apr 28, 2014 at 10:13 AM, rod <email address hidden> wrote:
>> Thought my settings were default anyway. How can I find out?
> I'm not sure, but I think debsums might be able to tell you.
>
>> Any way to make sure the upgrade succeeded? I repeatedly did get an
>> error message + subsequent failure to report.
> Try the upgrade again? Does "apt-get dist-upgrade" complete
> successfully?
>

--
Rod Béra, MCF Géomatique / Lecturer, Geomatics
            et SIG pour l'Environnement / and Environmental GIS
Agrocampus-Ouest|65 r.Saint-Brieuc|CS84215|35042 Rennes cedex|France
+33 (0) 223 48 5553 - <email address hidden>