package slapd 2.4.49+dfsg-2ubuntu1.9 failed to install/upgrade: new slapd package pre-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openldap (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
Happened while upgrading ubuntu distro
ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: slapd 2.4.49+
ProcVersionSign
Uname: Linux 5.15.0-1053-azure x86_64
ApportVersion: 2.20.11-0ubuntu82.5
Architecture: amd64
CasperMD5CheckR
Date: Fri Dec 29 23:55:31 2023
ErrorMessage: new slapd package pre-installation script subprocess returned error exit status 1
ProcCmdline: BOOT_IMAGE=
Python3Details: /usr/bin/
PythonDetails: N/A
RebootRequiredPkgs: Error: path contained symlinks.
RelatedPackageV
dpkg 1.21.1ubuntu2.2
apt 2.4.11
SourcePackage: openldap
Title: package slapd 2.4.49+
UpgradeStatus: Upgraded to jammy on 2023-12-29 (0 days ago)
tags: | removed: need-duplicate-check |
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.
""" slapd_2. 5.16+dfsg- 0ubuntu0. 22.04.1_ amd64.deb ... slapd-2. 4.49+dfsg- 2ubuntu1. 9... slapd-2. 4.49+dfsg- 2ubuntu1. 9: tnso5ahdvmpnma, dc=gx,dc= internal, dc=cloudapp, dc=ne.. . slapcat: slap_init no backend for "dc=1tmfm1mfbau utnso5ahdvmpnma ,dc=gx, dc=internal, dc=cloudapp, dc=ne" [?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 ...
Preparing to unpack .../20-
Saving current slapd configuration to /var/backups/
Dumping to /var/backups/
- directory dc=1tmfm1mfbauu
failed.
[?1049h