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=[?25l  
                                                                                
                                                                                
                                                                          
                                                                                
                                                                          
                                                                                
                                                                                
                                                                          
                                                                                
                                                                          
                                                                                
                                                                                
                                                                          
                                                                                
                                                                          
                                                                                
                                                                                
                                                                          
                                                                                
                                                                          
                                                                                
                                                                                
                                                                         
                                                                                
                                                                           
                                                                         
                                                                                
                                                                         
                                                                                
                                                                                
                                                                         
                                                                                
                                                                         
                                                                                
                                                                                
                                                                         
                                                                                
                                                                         
                                                                                
                                                                                
                                                                         
                                                                                
                                                                         
                                                                                
                                                                                
                                                                         
                                                                                
                                                                         
                                                                                
                                                                                
                                                                         
                                                                                
                                                                         
                                                                                
                                                                                
                                                                         
                                                                                
                                                                         
                                                                                
                                                                                
                                                                         
                                                                                
                                                                         
                                                                                
                                                                                
                                                                         
                                                                                
                                                                         
                                                                                
                                                                                
                                                                         
                                                                                
                                                                         
                                                                                
                                                                                
                                                                         
                                                                                
                                                                         
                                                                                
                                                                                
                                                                         
                                                                                
                                                                         
                                                                                
                                                                                
                                                                         
                                                                                
                                                                         
                                                                                
                                                                                
                                                                         
                                                                                
                                                                         
                                                                                
                                                                                
                                                                         
                                                                                
                                                                          
                                                                         
                                                                                
                                                                         
                                                                                
                                                                                
                                                                         
                                                                                
                                                                         
                                                                                
                                                                                
      Package 
configuration┌───────────────────────────────────────────────────────────────────────────────────┤
 Configuring slapd ├────────────────────────────────────────────── 
─────────────────────────────────────┐│                                  
                                                                                
                                                                         
│ │ slapcat failure during upgrade            
                                                                                
                                                                │ 
│                                                           
                                                                                
                                                │ 
│ An error occurred while upgrading the LDAP directory.     
                                                                                
                                                │  
│                                                                     
                                                                                
                                      │ │ 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   │ │ database). 
                                                                                
                                                                                
               │ │                            
                                                                                
                                                                               
│ │ 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    
│ │ files back into place, fix whatever 
caused slapcat to fail, and run:                                                
                                                                      
│ │                                           
                                                                                
                                                                │ 
│  slapcat > /var/backups/slapd-2.4.49+dfsg-2ubuntu1.9      
                                                                                
                                                │ 
│                                                           
                                                                                
                                                │ [26 
;3H│                                                               
                                                                                
                                            │ 
│ 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.        
                                                   │ 
│                                                           
                                                                                
                                                │ 
│                                                           
                               <Ok>                         
                                                                    
│ │                                           
                                                                                
                                                                 
│ 
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
                                                                         
                                                                                
                                     
[?25h
                                                                                
                                                                                
                                  
[?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     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to