Hi and thanks for the report, it seems that the automatic "try to backup and upgrade" failed. That is usually due to local config that does not behave well as it needs knowledge or assumptions the package can't have. Or at other times by using features that have been removed.
The log output is actually quite clear on what it tried, and that it
suggests to the admin to overcome this to continue.
"""
Preparing to unpack .../20-slapd_2.5.16+dfsg-0ubuntu0.22.04.1_amd64.deb ...
Saving current slapd configuration to
/var/backups/slapd-2.4.49+dfsg-2ubuntu1.9...
Dumping to /var/backups/slapd-2.4.49+dfsg-2ubuntu1.9:
- directory
dc=1tmfm1mfbauutnso5ahdvmpnma,dc=gx,dc=internal,dc=cloudapp,dc=ne... slapcat:
slap_init no backend for
"dc=1tmfm1mfbauutnso5ahdvmpnma,dc=gx,dc=internal,dc=cloudapp,dc=ne"
failed.
[?1049h[?1h=[1;43r[4l[?25l[m[37m[40m[1;43r[H[J[1;1H[1m[37m[45m
[2;1H
[3;1H
[4;1H
[5;1H
[6;1H
[7;1H
[8;1H
[9;1H
[10;1H
[11;1H
[12;1H
[13;1H
[14;1H
[15;1H
[16;1H
[17;1H
[18;1H
[19;1H
[20;1H
[21;1H
[22;1H
[23;1H
[24;1H
[25;1H
[26;1H
[27;1H
[28;1H
[29;1H
[30;1H
[31;1H
[32;1H
[33;1H
[34;1H
[35;1H
[36;1H
[37;1H
[38;1H
[39;1H
[40;1H
[41;1H
[42;1H
[43;1H
[43;193H [4h [4l[1;1H[m[37m[45mPackage
configuration[12;3H[30m[47m┌───────────────────────────────────────────────────────────────────────────────────┤
[31mConfiguring slapd[30m ├──────────────────────────────────────────────
─────────────────────────────────────┐[13;3H│
│[1m[37m[40m [14;3H[m[30m[47m│ slapcat failure during upgrade
│[1m[37m[40m
[15;3H[m[30m[47m│
│[1m[37m[40m
[16;3H[m[30m[47m│ An error occurred while upgrading the LDAP directory.
│[1m[37m[40m [17;3H[m
[30m[47m│
│[1m[37m[40m [18;3H[m[30m[47m│ The
'slapcat' program failed while extracting the LDAP directory. This may be
caused by an incorrect configuration file (for example, missing 'moduleload'
lines to support the backend │[1m[37m[40m [19;3H[m[30m[47m│ database).
│[1m[37m[40m [20;3H[m[30m[47m│
│[1m[37m[40m [21;3H[m[30m[47m│ This failure will cause 'slapadd' to fail
later as well. The old database files will be moved to /var/backups. If you
want to try this upgrade again, you should move the old database
│[1m[37m[40m [22;3H[m[30m[47m│ files back into place, fix whatever
caused slapcat to fail, and run:
│[1m[37m[40m [23;3H[m[30m[47m│
│[1m[37m[40m
[24;3H[m[30m[47m│ slapcat > /var/backups/slapd-2.4.49+dfsg-2ubuntu1.9
│[1m[37m[40m
[25;3H[m[30m[47m│
│[1m[37m[40m [26
;3H[m[30m[47m│
│[1m[37m[40m
[27;3H[m[30m[47m│ Then move the database files back to a backup area and
then try running slapadd from /var/backups/slapd-2.4.49+dfsg-2ubuntu1.9.
│[1m[37m[40m
[28;3H[m[30m[47m│
│[1m[37m[40m
[29;3H[m[30m[47m│
[37m[41m<Ok>[30m[47m
│[1m[37m[40m [30;3H[m[30m[47m│
│[1m[37m[40m
[31;3H[m[30m[47m└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘[1m[37m[40m
[32;4H
[29;95H[34h[?25h[43;1H[m[37m[40m[m[39;49m
[?1l>[?1049ldpkg: error processing archive
/tmp/apt-dpkg-install-INN4tL/20-slapd_2.5.16+dfsg-0ubuntu0.22.04.1_amd64.deb
(--unpack):
new slapd package pre-installation script subprocess returned error exit
status 1
"""
I really can't say much more than what is in this log message.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to openldap in Ubuntu.
https://bugs.launchpad.net/bugs/2047719
Title:
package slapd 2.4.49+dfsg-2ubuntu1.9 failed to install/upgrade: new
slapd package pre-installation script subprocess returned error exit
status 1
Status in openldap package in Ubuntu:
Incomplete
Bug description:
Happened while upgrading ubuntu distro
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: slapd 2.4.49+dfsg-2ubuntu1.9
ProcVersionSignature: Ubuntu 5.15.0-1053.61~20.04.1-azure 5.15.131
Uname: Linux 5.15.0-1053-azure x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Fri Dec 29 23:55:31 2023
ErrorMessage: new slapd package pre-installation script subprocess returned
error exit status 1
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-5.15.0-1053-azure
root=UUID=b9df59e6-c806-4851-befa-12402bca5828 ro console=tty1 console=ttyS0
earlyprintk=ttyS0 rootdelay=300
Python3Details: /usr/bin/python3.10, Python 3.10.12, python3-minimal,
3.10.6-1~22.04
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageVersions:
dpkg 1.21.1ubuntu2.2
apt 2.4.11
SourcePackage: openldap
Title: package slapd 2.4.49+dfsg-2ubuntu1.9 failed to install/upgrade: new
slapd package pre-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to jammy on 2023-12-29 (0 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openldap/+bug/2047719/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp

