Migration to 11 won't start : "libc6-dev : Breaks: libgcc-8-dev"

Thanks.
It wants to remove some other packages:

The following packages will be REMOVED:
g++ g+±8 libstdc+±8-dev php-mysql php-tidy php7.3-tidy

Is that ok?

During which step exactly ?

Sorry, I was copy/pasting too fast :slight_smile:
After sudo apt autoremove

Ah yes apt autoremove can be trustred :wink: If it removes something then it’s really not in use anymore. You may think that “php-mysql is probably used”, but the thing is that there are other packages such as “php7.3-mysql” and the difference is quite technical

Bottom line: yes !

1 Like

hehe, thanks. I’ll try it now :nerd_face:

edit: it worked. Thanks :raised_hands:

Hey @Aleks,

all the provided solutions to lapor didn’t work in may case (Migration to 11 won't start - #17 by virse)

DO you have any hints for my problem as well?

Thx, virse

What works ? You mean you were able to run sudo apt remove gcc-8 libgcc-8-dev and then proceed with the migration ?

Let’s start by trying apt --fix-broken install

Thanks for your reply.

Shows me:

apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
 libssl-dev : Depends: libssl1.1 (= 1.1.1n-0+deb11u3) but 1.1.1n-0+deb10u3 is installed
 libstdc++-8-dev : Depends: libgcc-8-dev (= 8.3.0-6) but it is not installable
 lstu-ynh-deps : Depends: libpod-parser-perl but it is not installed
 python3.7-venv : Depends: python3.7 (= 3.7.3-2+deb10u3) but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

Hmmmokay let’s see what these returns:

apt remove python3.7-venv --dry-run
apt remove libstdc++-8-dev --dry-run
apt policy libpod-parser-perl
apt policy libssl1.1

apt remove python3.7-venv --dry-run

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libssl-dev : Depends: libssl1.1 (= 1.1.1n-0+deb11u3) but 1.1.1n-0+deb10u3 is to be installed
 libstdc++-8-dev : Depends: libgcc-8-dev (= 8.3.0-6) but it is not installable
 lstu-ynh-deps : Depends: libpod-parser-perl but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

apt remove libstdc+±8-dev --dry-run

Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libssl-dev : Depends: libssl1.1 (= 1.1.1n-0+deb11u3) but 1.1.1n-0+deb10u3 is to be installed
 lstu-ynh-deps : Depends: libpod-parser-perl but it is not going to be installed
 python3.7-venv : Depends: python3.7 (= 3.7.3-2+deb10u3) but it is not installable
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

apt policy libpod-parser-perl

libpod-parser-perl:
  Installed: (none)
  Candidate: 1.63-2
  Version table:
     1.63-2 500
        500 http://ftp.debian.org/debian bullseye/main amd64 Packages

apt policy libssl1.1

libssl1.1:
  Installed: 1.1.1n-0+deb10u3
  Candidate: 1.1.1n-0+deb11u3
  Version table:
     1.1.1n-0+deb11u3 500
        500 http://ftp.debian.org/debian bullseye/main amd64 Packages
        500 http://security.debian.org bullseye-security/main amd64 Packages
 *** 1.1.1n-0+deb10u3 100
        100 /var/lib/dpkg/status

Thks

Hmokay so let’s try to proceed with

apt remove python3.7-venv libstdc++-8-dev

(If this doesn’t work because of the other apt headaches, let’s try dpkg --remove python3.7-venv and dpkg --remove libstdc++-8-dev instead)

Then let’s try apt install libpod-parser-perl=1.63-2 libssl1.1=1.1.1n-0+deb11u3 --dry-run

worked the apt remove not.

apt install libpod-parser-perl=1.63-2 libssl1.1=1.1.1n-0+deb11u3 --dry-run

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  cpp-8 dh-python libasan5 libisl19 libkyotocabinet16v5 liblzo2-2 libmpx2
  libpython2.7 libpython3.7 libpython3.7-dev python3-entrypoints
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  libpod-parser-perl
The following packages will be upgraded:
  libssl1.1
1 upgraded, 1 newly installed, 0 to remove and 832 not upgraded.
127 not fully installed or removed.
Conf e2fsprogs (1.46.2-2 Debian:11.4/stable [amd64]) [lstu-ynh-deps:amd64 libssl-dev:amd64 ]
Conf slapd (2.4.57+dfsg-3+deb11u1 Debian:11.4/stable, Debian-Security:11/stable-security [amd64]) [lstu-ynh-deps:amd64 libssl-dev:amd64 ]
Inst libssl1.1 [1.1.1n-0+deb10u3] (1.1.1n-0+deb11u3 Debian:11.4/stable, Debian-Security:11/stable-security [amd64]) [lstu-ynh-deps:amd64 ]
Conf libssl1.1 (1.1.1n-0+deb11u3 Debian:11.4/stable, Debian-Security:11/stable-security [amd64]) [lstu-ynh-deps:amd64 ]
Conf mime-support (3.66 Debian:11.4/stable [all]) [lstu-ynh-deps:amd64 ]
Conf bsdmainutils (12.1.7+nmu3 Debian:11.4/stable [all]) [lstu-ynh-deps:amd64 ]
Conf libc6-dev (2.31-13+deb11u3 Debian:11.4/stable [amd64]) [lstu-ynh-deps:amd64 ]
Conf python3-multidict (5.1.0-1 Debian:11.4/stable [amd64]) [lstu-ynh-deps:amd64 ]
Conf python3-yarl (1.6.3-2 Debian:11.4/stable [amd64]) [lstu-ynh-deps:amd64 ]
Conf python3-typing-extensions (3.7.4.3-1 Debian:11.4/stable [all]) [lstu-ynh-deps:amd64 ]
Conf python3-aiohttp (3.7.4-1 Debian:11.4/stable [amd64]) [lstu-ynh-deps:amd64 ]
Inst libpod-parser-perl (1.63-2 Debian:11.4/stable [all])
Conf libpod-parser-perl (1.63-2 Debian:11.4/stable [all])
Conf postgresql-common (225 Debian:11.4/stable [all])
Conf manpages (5.10-1 Debian:11.4/stable [all])
Conf libstdc++-10-dev (10.2.1-6 Debian:11.4/stable [amd64])
Conf libnet-libidn-perl (0.12.ds-3+b3 Debian:11.4/stable [amd64])
Conf libltdl-dev (2.4.6-15 Debian:11.4/stable [amd64])
Conf python3-dev (3.9.2-3 Debian:11.4/stable [amd64])
Conf libldb2 (2:2.2.3-2~deb11u1 Debian:11.4/stable, Debian-Security:11/stable-security [amd64])
Conf libb-hooks-op-check-perl (0.22-1+b3 Debian:11.4/stable [amd64])
Conf startpar (0.64-3 Debian:11.4/stable [amd64])
Conf libnih-dbus1 (1.0.3-11 Debian:11.4/stable [amd64])
Conf python3-distutils (3.9.2-1 Debian:11.4/stable [all])
Conf gnupg-utils (2.2.27-2+deb11u2 Debian:11.4/stable, Debian-Security:11/stable-security [amd64])
Conf libparams-validate-perl (1.30-1+b1 Debian:11.4/stable [amd64])
Conf libnet-ssleay-perl (1.88-3+b1 Debian:11.4/stable [amd64])
Conf liblist-moreutils-perl (0.430-2 Debian:11.4/stable [all])
Conf ifupdown (0.8.36 Debian:11.4/stable [amd64])
Conf python3-pyxattr (0.7.2-1+b1 Debian:11.4/stable [amd64])
Conf liblist-moreutils-xs-perl (0.430-2 Debian:11.4/stable [amd64])
Conf gpg-wks-client (2.2.27-2+deb11u2 Debian:11.4/stable, Debian-Security:11/stable-security [amd64])
Conf g++-10 (10.2.1-6 Debian:11.4/stable [amd64])
Conf libgirepository-1.0-1 (1.66.1-1+b1 Debian:11.4/stable [amd64])
Conf gnupg-l10n (2.2.27-2+deb11u2 Debian:11.4/stable, Debian-Security:11/stable-security [all])
Conf python3-pycryptodome (3.9.7+dfsg1-1+b2 Debian:11.4/stable [amd64])
Conf libsqlite3-dev (3.34.1-3 Debian:11.4/stable [amd64])
Conf libwbclient0 (2:4.13.13+dfsg-1~deb11u4 Debian:11.4/stable [amd64])
Conf libexpat1-dev (2.2.10-2+deb11u3 Debian:11.4/stable, Debian-Security:11/stable-security [amd64])
Conf libvariable-magic-perl (0.62-1+b3 Debian:11.4/stable [amd64])
Conf libpython2-stdlib (2.7.18-3 Debian:11.4/stable [amd64])
Conf python3-ldb (2:2.2.3-2~deb11u1 Debian:11.4/stable, Debian-Security:11/stable-security [amd64])
Conf python3-systemd (234-3+b4 Debian:11.4/stable [amd64])
Conf libdevel-callchecker-perl (0.008-1+b2 Debian:11.4/stable [amd64])
Conf python3-jeepney (0.6.0-1 Debian:11.4/stable [all])
Conf libcgi-fast-perl (1:2.15-1 Debian:11.4/stable [all])
Conf db5.3-util (5.3.28+dfsg1-0.8 Debian:11.4/stable [amd64])
Conf g++ (4:10.2.1-1 Debian:11.4/stable [amd64])
Conf libpython2.7 (2.7.18-8 Debian:11.4/stable [amd64])
Conf python2.7 (2.7.18-8 Debian:11.4/stable [amd64])
Conf libfcgi-perl (0.79+ds-2 Debian:11.4/stable [amd64])
Conf python3-keyring (22.0.1-1 Debian:11.4/stable [all])
Conf libcgi-pm-perl (4.51-1 Debian:11.4/stable [all])
Conf gpg-wks-server (2.2.27-2+deb11u2 Debian:11.4/stable, Debian-Security:11/stable-security [amd64])
Conf insserv (1.21.0-1.1 Debian:11.4/stable [amd64])
Conf libclass-c3-xs-perl (0.15-1+b1 Debian:11.4/stable [amd64])
Conf python3.9-dev (3.9.2-1 Debian:11.4/stable [amd64])
Conf libgmp-dev (2:6.2.1+dfsg-1+deb11u1 Debian:11.4/stable [amd64])
Conf libjs-underscore (1.9.1~dfsg-3 Debian:11.4/stable [all])
Conf liblocale-gettext-perl (1.07-4+b1 Debian:11.4/stable [amd64])
Conf libpackage-stash-xs-perl (0.29-1+b2 Debian:11.4/stable [amd64])
Conf gpg (2.2.27-2+deb11u2 Debian:11.4/stable, Debian-Security:11/stable-security [amd64])
Conf python2 (2.7.18-3 Debian:11.4/stable [amd64])
Conf udev (247.3-7 Debian:11.4/stable [amd64])
Conf locales (2.31-13+deb11u3 Debian:11.4/stable [all])
Conf libsub-identify-perl (0.14-1+b3 Debian:11.4/stable [amd64])
Conf libtype-tiny-xs-perl (0.022-1 Debian:11.4/stable [amd64])
Conf nslcd-utils (0.9.11-1 Debian:11.4/stable [all])
Conf libklibc (2.0.8-6.1 Debian:11.4/stable [amd64])
Conf libclass-xsaccessor-perl (1.19-3+b7 Debian:11.4/stable [amd64])
Conf libparams-util-perl (1.102-1+b1 Debian:11.4/stable [amd64])
Conf libterm-readkey-perl (2.38-1+b2 Debian:11.4/stable [amd64])
Conf libgmpxx4ldbl (2:6.2.1+dfsg-1+deb11u1 Debian:11.4/stable [amd64])
Conf libunicode-utf8-perl (0.62-1+b2 Debian:11.4/stable [amd64])
Conf libtalloc2 (2.3.1-2+b1 Debian:11.4/stable [amd64])
Conf libfile-fcntllock-perl (0.22-3+b7 Debian:11.4/stable [amd64])
Conf samba-libs (2:4.13.13+dfsg-1~deb11u4 Debian:11.4/stable [amd64])
Conf sqlite3 (3.34.1-3 Debian:11.4/stable [amd64])
Conf libc-l10n (2.31-13+deb11u3 Debian:11.4/stable [all])
Conf libparams-classify-perl (0.015-1+b3 Debian:11.4/stable [amd64])
Conf libsub-name-perl (0.26-1+b1 Debian:11.4/stable [amd64])
Conf libnih1 (1.0.3-11 Debian:11.4/stable [amd64])
Conf libnet-dbus-perl (1.2.0-1+b1 Debian:11.4/stable [amd64])
Conf python3-cffi-backend (1.14.5-1 Debian:11.4/stable [amd64])
Conf libpython3.9-dev (3.9.2-1 Debian:11.4/stable [amd64])
Conf python3-venv (3.9.2-3 Debian:11.4/stable [amd64])
Conf perl-openssl-defaults (5 Debian:11.4/stable [amd64])
Conf libnet-dns-sec-perl (1.18-1+b1 Debian:11.4/stable [amd64])
Conf libpam-systemd (247.3-7 Debian:11.4/stable [amd64])
Conf wpasupplicant (2:2.9.0-21 Debian:11.4/stable [amd64])
Conf dh-python (4.20201102+nmu1 Debian:11.4/stable [all])
Conf libssl-dev (1.1.1n-0+deb11u3 Debian:11.4/stable, Debian-Security:11/stable-security [amd64])
Conf libauthen-pam-perl (0.16-3+b8 Debian:11.4/stable [amd64])
Conf libio-pty-perl (1:1.15-2 Debian:11.4/stable [amd64])
Conf libgssapi-perl (0.28-3+b3 Debian:11.4/stable [amd64])
Conf libsmbclient (2:4.13.13+dfsg-1~deb11u4 Debian:11.4/stable [amd64])
Conf libtdb1 (1.4.3-1+b1 Debian:11.4/stable [amd64])
Conf manpages-dev (5.10-1 Debian:11.4/stable [all])
Conf libhtml-template-perl (2.97-1.1 Debian:11.4/stable [all])
Conf python3-talloc (2.3.1-2+b1 Debian:11.4/stable [amd64])
Conf libncurses-dev (6.2+20201114-2 Debian:11.4/stable [amd64])
Conf initscripts (2.96-7+deb11u1 Debian:11.4/stable [all])
Conf libsocket6-perl (0.29-1+b3 Debian:11.4/stable [amd64])
Conf python3-keyrings.alt (4.0.2-1 Debian:11.4/stable [all])
Conf libdbd-mysql-perl (4.050-3+b1 Debian:11.4/stable [amd64])
Conf python3-gi (3.38.0-2 Debian:11.4/stable [amd64])
Conf logrotate (3.18.0-2+deb11u1 Debian:11.4/stable [amd64])
Conf libxml-parser-perl (2.46-2 Debian:11.4/stable [amd64])
Conf libpython3-dev (3.9.2-3 Debian:11.4/stable [amd64])
Conf libfcgi0ldbl (2.4.2-2 Debian:11.4/stable [amd64])
Conf gnupg (2.2.27-2+deb11u2 Debian:11.4/stable, Debian-Security:11/stable-security [all])
Conf libref-util-xs-perl (0.117-1+b3 Debian:11.4/stable [amd64])
Conf sysv-rc (2.96-7+deb11u1 Debian:11.4/stable [all])
Conf libpython2.7-stdlib (2.7.18-8 Debian:11.4/stable [amd64])
Conf libgnutls-dane0 (3.7.1-5+deb11u2 Debian-Security:11/stable-security [amd64])
Conf libtext-iconv-perl (1.7-7+b1 Debian:11.4/stable [amd64])
Conf libjs-sphinxdoc (3.4.3-2 Debian:11.4/stable [all])
Conf libtevent0 (0.10.2-1 Debian:11.4/stable [amd64])
Conf rpcbind (1.2.5-9 Debian:11.4/stable [amd64])
Conf klibc-utils (2.0.8-6.1 Debian:11.4/stable [amd64])
Conf python3.9-venv (3.9.2-1 Debian:11.4/stable [amd64])
Conf libhtml-parser-perl (3.75-1+b1 Debian:11.4/stable [amd64])
Conf gpg-agent (2.2.27-2+deb11u2 Debian:11.4/stable, Debian-Security:11/stable-security [amd64])
Conf python3-secretstorage (3.3.1-1 Debian:11.4/stable [all])
Conf libalgorithm-diff-xs-perl (0.04-6+b1 Debian:11.4/stable [amd64])
Conf initramfs-tools-core (0.140 Debian:11.4/stable [all])
Conf initramfs-tools (0.140 Debian:11.4/stable [all])
Conf python3-apt (2.2.1 Debian:11.4/stable [amd64])
Conf gpgsm (2.2.27-2+deb11u2 Debian:11.4/stable, Debian-Security:11/stable-security [amd64])
Conf libtext-charwidth-perl (0.04-10+b1 Debian:11.4/stable [amd64])
Conf postgresql-client-common (225 Debian:11.4/stable [all])

Hmyea that sounds good, let’s proceed with apt install libpod-parser-perl=1.63-2 libssl1.1=1.1.1n-0+deb11u3

Yes, all of the above. The migration went successfully and now it runs Yunohost 11.0.9 (stable).

1 Like

Yet anothe error message with

apt install libpod-parser-perl=1.63-2 libssl1.1=1.1.1n-0+deb11u3

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  cpp-8 dh-python libasan5 libisl19 libkyotocabinet16v5 liblzo2-2 libmpx2
  libpython2.7 libpython3.7 libpython3.7-dev python3-entrypoints
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  libpod-parser-perl
The following packages will be upgraded:
  libssl1.1
1 upgraded, 1 newly installed, 0 to remove and 832 not upgraded.
127 not fully installed or removed.
Need to get 0 B/1,655 kB of archives.
After this operation, 280 kB of additional disk space will be used.
Preconfiguring packages ...
Setting up e2fsprogs (1.46.2-2) ...
update-initramfs: deferring update (trigger activated)
Created symlink /etc/systemd/system/timers.target.wants/e2scrub_all.timer → /lib
/systemd/system/e2scrub_all.timer.
Created symlink /etc/systemd/system/default.target.wants/e2scrub_reap.service → 
/lib/systemd/system/e2scrub_reap.service.
e2scrub_all.service is a disabled or a static unit not running, not starting it.
Setting up slapd (2.4.57+dfsg-3+deb11u1) ...
  Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.47+dfsg-3+deb10u7... do
ne.
Job for slapd.service failed because the control process exited with error code.
See "systemctl status slapd.service" and "journalctl -xe" for details.
invoke-rc.d: initscript slapd, action "restart" failed.
● slapd.service - LSB: OpenLDAP standalone server (Lightweight Directory Access 
Protocol)
     Loaded: loaded (/etc/init.d/slapd; generated)
    Drop-In: /lib/systemd/system/slapd.service.d
             └─slapd-remain-after-exit.conf
             /etc/systemd/system/slapd.service.d
             └─ynh-override.conf
     Active: activating (auto-restart) (Result: exit-code) since Thu 2022-08-11 
16:27:19 CEST; 7ms ago
       Docs: man:systemd-sysv-generator(8)
    Process: 31068 ExecStart=/etc/init.d/slapd start (code=exited, status=1/FAIL
URE)
      Tasks: 4 (limit: 4915)
     Memory: 15.0M
     CGroup: /system.slice/slapd.service
             └─30038 /usr/sbin/slapd -h ldap://127.0.0.1:389/ ldaps:/// ldapi://
/ -g openldap -u openldap -F /etc/ldap/slapd.d

Aug 11 16:27:19 virmat.de systemd[1]: slapd.service: Control process exited, cod
e=exited, status=1/FAILURE
Aug 11 16:27:19 virmat.de systemd[1]: slapd.service: Failed with result 'exit-co
de'.
Aug 11 16:27:19 virmat.de systemd[1]: slapd.service: Unit process 30038 (slapd) 
remains running after unit stopped.
Aug 11 16:27:19 virmat.de systemd[1]: Failed to start LSB: OpenLDAP standalone s
erver (Lightweight Directory Access Protocol).
dpkg: error processing package slapd (--configure):
 installed slapd package post-installation script subprocess returned error exit
 status 1
Errors were encountered while processing:
 slapd
E: Sub-process /usr/bin/dpkg returned an error code (1)

Well what the heck, why is another random bit exploding for no reason @_@

Computers

Can you share the output of journalctl -u slapd -n 50 --no-pager --no-hostname

journalctl -u slapd -n 50 --no-pager --no-hostname

– Journal begins at Mon 2022-06-13 05:20:16 CEST, ends at Thu 2022-08-11 16:31:00 CEST. –
Aug 11 16:30:50 slapd[31573]: failed!
Aug 11 16:30:50 systemd[1]: slapd.service: Control process exited, code=exited, status=1/FAILURE
Aug 11 16:30:50 systemd[1]: slapd.service: Failed with result ‘exit-code’.
Aug 11 16:30:50 systemd[1]: slapd.service: Unit process 30038 (slapd) remains running after unit stopped.
Aug 11 16:30:50 systemd[1]: Failed to start LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol).
Aug 11 16:30:53 systemd[1]: slapd.service: Scheduled restart job, restart counter is at 31264.
Aug 11 16:30:53 systemd[1]: Stopped LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol).
Aug 11 16:30:53 systemd[1]: slapd.service: Found left-over process 30038 (slapd) in control group while starting unit. Ignoring.
Aug 11 16:30:53 systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Aug 11 16:30:53 systemd[1]: Starting LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol)…
Aug 11 16:30:53 slapd[31580]: @(#) $OpenLDAP: slapd 2.4.57+dfsg-3+deb11u1 (May 14 2022 18:32:57) $
Debian OpenLDAP Maintainers pkg-openldap-devel@lists.alioth.debian.org
Aug 11 16:30:53 slapd[31580]: daemon: bind(8) failed errno=98 (Address already in use)
Aug 11 16:30:53 slapd[31580]: slapd stopped.
Aug 11 16:30:53 slapd[31580]: connections_destroy: nothing to destroy.
Aug 11 16:30:53 slapd[31575]: Starting OpenLDAP: slapd
Aug 11 16:30:53 slapd[31581]: failed!
Aug 11 16:30:53 systemd[1]: slapd.service: Control process exited, code=exited, status=1/FAILURE
Aug 11 16:30:53 systemd[1]: slapd.service: Failed with result ‘exit-code’.
Aug 11 16:30:53 systemd[1]: slapd.service: Unit process 30038 (slapd) remains running after unit stopped.
Aug 11 16:30:53 systemd[1]: Failed to start LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol).
Aug 11 16:30:57 systemd[1]: slapd.service: Scheduled restart job, restart counter is at 31265.
Aug 11 16:30:57 systemd[1]: Stopped LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol).
Aug 11 16:30:57 systemd[1]: slapd.service: Found left-over process 30038 (slapd) in control group while starting unit. Ignoring.
Aug 11 16:30:57 systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Aug 11 16:30:57 systemd[1]: Starting LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol)…
Aug 11 16:30:57 slapd[31587]: @(#) $OpenLDAP: slapd 2.4.57+dfsg-3+deb11u1 (May 14 2022 18:32:57) $
Debian OpenLDAP Maintainers pkg-openldap-devel@lists.alioth.debian.org
Aug 11 16:30:57 slapd[31587]: daemon: bind(8) failed errno=98 (Address already in use)
Aug 11 16:30:57 slapd[31587]: slapd stopped.
Aug 11 16:30:57 slapd[31587]: connections_destroy: nothing to destroy.
Aug 11 16:30:57 slapd[31582]: Starting OpenLDAP: slapd
Aug 11 16:30:57 slapd[31588]: failed!
Aug 11 16:30:57 systemd[1]: slapd.service: Control process exited, code=exited, status=1/FAILURE
Aug 11 16:30:57 systemd[1]: slapd.service: Failed with result ‘exit-code’.
Aug 11 16:30:57 systemd[1]: slapd.service: Unit process 30038 (slapd) remains running after unit stopped.
Aug 11 16:30:57 systemd[1]: Failed to start LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol).
Aug 11 16:31:00 systemd[1]: slapd.service: Scheduled restart job, restart counter is at 31266.
Aug 11 16:31:00 systemd[1]: Stopped LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol).
Aug 11 16:31:00 systemd[1]: slapd.service: Found left-over process 30038 (slapd) in control group while starting unit. Ignoring.
Aug 11 16:31:00 systemd[1]: This usually indicates unclean termination of a previous run, or service implementation deficiencies.
Aug 11 16:31:00 systemd[1]: Starting LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol)…
Aug 11 16:31:00 slapd[31596]: @(#) $OpenLDAP: slapd 2.4.57+dfsg-3+deb11u1 (May 14 2022 18:32:57) $
Debian OpenLDAP Maintainers pkg-openldap-devel@lists.alioth.debian.org
Aug 11 16:31:00 slapd[31596]: daemon: bind(8) failed errno=98 (Address already in use)
Aug 11 16:31:00 slapd[31596]: slapd stopped.
Aug 11 16:31:00 slapd[31596]: connections_destroy: nothing to destroy.
Aug 11 16:31:00 slapd[31591]: Starting OpenLDAP: slapd
Aug 11 16:31:00 slapd[31597]: failed!
Aug 11 16:31:00 systemd[1]: slapd.service: Control process exited, code=exited, status=1/FAILURE
Aug 11 16:31:00 systemd[1]: slapd.service: Failed with result ‘exit-code’.
Aug 11 16:31:00 systemd[1]: slapd.service: Unit process 30038 (slapd) remains running after unit stopped.
Aug 11 16:31:00 systemd[1]: Failed to start LSB: OpenLDAP standalone server (Lightweight Directory Access Protocol).

Mokay so another process seems to be using port 389 which is the internal port used by Slapd …

Probably related to slapd.service: Found left-over process 30038 (slapd) in control group while starting unit. Ignoring.

Let’s have a quick look with sudo netstat -tulpn | grep 389

I killed manually the LDAP process 30028 and made a

apt install libpod-parser-perl=1.63-2 libssl1.1=1.1.1n-0+deb11u3

now it worked

Alrighty so let’s now retry the migration