How did I fix «The following packages have unmet dependencies» on `apt upgrade perl-base` in Debian 10 (Buster)?

pt upgrade perl-base

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:
libc-bin : Depends: libc6 (< 2.29) but 2.36-9+deb12u1 is installed
libc6-dev : Depends: libc6 (= 2.28-10) but 2.36-9+deb12u1 is installed
Depends: libc-dev-bin (= 2.28-10) but 2.36-9+deb12u1 is installed
libpam0g-dev : Depends: libpam0g (= 1.5.2-6) but 1.3.1-5 is installed
locales : Depends: libc-bin (> 2.36) but 2.28-10 is installed
Depends: libc-l10n (> 2.36) but 2.28-10 is installed
locales-all : Depends: libc-l10n (> 2.36) but 2.28-10 is installed
openssh-server : Depends: openssh-client (= 1:9.2p1-2) but 1:7.9p1-10+deb10u2 is installed
Depends: runit-helper (>= 2.14.0~) but 2.8.6 is installed
Depends: libcrypt1 (>= 1:4.1.0) but it is not installed
Depends: libselinux1 (>= 3.1~) but 2.8-1+b1 is installed
Depends: libssl3 (>= 3.0.8) but it is not installed
Recommends: default-logind or
logind or
libpam-systemd but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

2023-08-08--05-07-20

Fixed by df.tips/t/topic/1843/2