perhaps for my future self, if ubuntu wants to remove packages to install the 32bit libs, the solution is to go through with it and then reinstall the packages it removes.
Code:
# apt install libcurl3-gnutls:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
bind9utils libmspack0 libnetfilter-acct1 libprotobuf10 libsnappy1v5 libsnmp-base libxmlsec1 mlock php8.1-common php8.1-opcache php8.1-readline python3-ply zerofree
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
libasn1-8-heimdal:i386 libcom-err2:i386 libdb5.3:i386 libffi6:i386 libgmp10:i386 libgnutls30:i386 libgssapi-krb5-2:i386 libgssapi3-heimdal:i386 libhcrypto4-heimdal:i386 libheimbase1-heimdal:i386
libheimntlm0-heimdal:i386 libhogweed4:i386 libhx509-5-heimdal:i386 libidn2-0:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-26-heimdal:i386 libkrb5-3:i386 libkrb5support0:i386 libldap-2.4-2:i386
libnettle6:i386 libnghttp2-14:i386 libp11-kit0:i386 libpsl5:i386 libroken18-heimdal:i386 librtmp1:i386 libsasl2-2:i386 libsasl2-modules-db:i386 libsqlite3-0:i386 libtasn1-6:i386 libunistring2:i386
libwind0-heimdal:i386 php7.4-fpm php8.2-fpm zlib1g:i386
Suggested packages:
gnutls-bin:i386 krb5-doc:i386 krb5-user:i386
Recommended packages:
libsasl2-modules:i386
The following packages will be REMOVED:
bind9 libapache2-mod-php7.4 libapache2-mod-php8.1 libapache2-mod-php8.2 libc-client2007e libio-socket-ssl-perl libisns0 libnet-ssleay-perl libopenipmi0 libpq5 libsnmp30 libxmlsec1-openssl libzip4 netdata
open-iscsi open-vm-tools openipmi percona-toolkit perl-openssl-defaults php7.4-cgi php7.4-imap php7.4-zip php8.1-cli php8.1-phpdbg python-psycopg2 sntp w3m
The following NEW packages will be installed:
libasn1-8-heimdal:i386 libcom-err2:i386 libcurl3-gnutls:i386 libdb5.3:i386 libffi6:i386 libgmp10:i386 libgnutls30:i386 libgssapi-krb5-2:i386 libgssapi3-heimdal:i386 libhcrypto4-heimdal:i386
libheimbase1-heimdal:i386 libheimntlm0-heimdal:i386 libhogweed4:i386 libhx509-5-heimdal:i386 libidn2-0:i386 libk5crypto3:i386 libkeyutils1:i386 libkrb5-26-heimdal:i386 libkrb5-3:i386 libkrb5support0:i386
libldap-2.4-2:i386 libnettle6:i386 libnghttp2-14:i386 libp11-kit0:i386 libpsl5:i386 libroken18-heimdal:i386 librtmp1:i386 libsasl2-2:i386 libsasl2-modules-db:i386 libsqlite3-0:i386 libtasn1-6:i386
libunistring2:i386 libwind0-heimdal:i386 php7.4-fpm php8.2-fpm zlib1g:i386
0 upgraded, 36 newly installed, 27 to remove and 3 not upgraded.
Need to get 8405 kB of archives.
After this operation, 221 MB disk space will be freed.
Do you want to continue? [Y/n]
Code:
apt install bind9 libapache2-mod-php7.4 libapache2-mod-php8.1 libapache2-mod-php8.2 libc-client2007e libio-socket-ssl-perl libisns0 libnet-ssleay-perl libopenipmi0 libpq5 libsnmp30 libxmlsec1-openssl libzip4 netdata open-iscsi open-vm-tools openipmi percona-toolkit perl-openssl-defaults php7.4-cgi php7.4-imap php7.4-zip php8.1-cli php8.1-phpdbg python-psycopg2 sntp w3m
Note: this is an example of packages that were currently on the affected server, don't copy and paste this in your terminal, it would be highly unwise and stupid. Take the notion and use it to apply it for your situation.
Posting it here because I searched the entire web without finding a solution before YOLOing it.
__________________