Migration from bullseye 11.3.0.2 to bookworm 12 failed

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 11.3.0.2
How are you able to access your server: The webadmin
SSH
Direct access via physical keyboard/screen
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: not that I am aware

Describe your issue

I finally took a deep breath and ran the migration upgrade to bullseye. Unfortunately it did not go smooth.

This is the command I was using:

$ sudo yunohost tools migrations run
...
 (see paste link below for full log)
...
yunohost.utils.error.YunohostError: Still on YunoHost 11.x at the end of the migration, eh? Sounds like the migration didn't really complete!?

I assume something went wrong!
If I run the migration again, I just get a message that there are no migrations. This makes somehow sense, as I am now on bookworm:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 12 (bookworm)
Release:        12
Codename:       bookworm

However, Yunohost seems to be stuck:

~$ sudo yunohost tools versions
yunohost:
  repo: stable
  version: 11.3.0.2
yunohost-admin:
  repo: stable
  version: 11.3.0
moulinette:
  repo: stable
  version: 11.3.0
ssowat:
  repo: stable
  version: 11.3.0

I had a hunch that maybe I just need to run an upgrade for yunohost, but this didn’t seem to work:

$ sudo yunohost tools upgrade system
Info: Upgrading packages…
Info: Upgrading system packages
Info: + Reading package lists...
Info: + Building dependency tree...
Info: + Reading state information...
Info: + Calculating upgrade...
Info: + Some packages could not be installed. This may mean that you have
Info: + requested an impossible situation or if you are using the unstable
Info: + distribution that some required packages have not yet been created
Info: + or been moved out of Incoming.
Info: + The following information may help to resolve the situation:
Info: + The following packages have unmet dependencies:
Info: +  yunohost : Depends: ssowat (>= 11.1) but it is not going to be installed
Info: +             Depends: ssowat (< 12.0) but it is not going to be installed
Info: +             Depends: nginx
Info: +             Depends: nginx-extras (>= 1.18) but it is not going to be installed
Info: +             Recommends: php7.4-fpm but it is not going to be installed
Info: +             Recommends: php7.4-ldap but it is not going to be installed
Info: +             Recommends: php7.4-intl but it is not going to be installed
Info: +             Recommends: php7.4-mysql but it is not going to be installed
Info: +             Recommends: php7.4-gd but it is not going to be installed
Info: +             Recommends: php7.4-curl but it is not going to be installed
Info: +             Recommends: php-php-gettext but it is not going to be installed
Info: +             Recommends: python3-pip but it is not going to be installed
Info: +             Recommends: metronome (>= 3.14.0)
Warning: E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Warning: Could not upgrade packages: libb-hooks-op-check-perl, libclass-c3-xs-perl, libclass-xsaccessor-perl, libclone-perl, libconfig-inifiles-perl, libdbi-perl, libdevel-callchecker-perl, libfcgi-perl, libgdbm-compat4, libgssapi-perl, libhtml-parser-perl, libhttp-message-perl, liblist-moreutils-xs-perl, liblocale-gettext-perl, libmoo-perl, libnet-dns-sec-perl, libnet-libidn-perl, libnet-ssleay-perl, libnetaddr-ip-perl, libnginx-mod-http-auth-pam, libnginx-mod-http-cache-purge, libnginx-mod-http-dav-ext, libnginx-mod-http-echo, libnginx-mod-http-fancyindex, libnginx-mod-http-geoip2, libnginx-mod-http-geoip, libnginx-mod-http-headers-more-filter, libnginx-mod-http-image-filter, libnginx-mod-http-lua, libnginx-mod-http-ndk, libnginx-mod-http-perl, libnginx-mod-http-subs-filter, libnginx-mod-http-uploadprogress, libnginx-mod-http-upstream-fair, libnginx-mod-http-xslt-filter, libnginx-mod-mail, libnginx-mod-nchan, libnginx-mod-stream-geoip2, libnginx-mod-stream-geoip, libnginx-mod-stream, libodbc1, libpackage-stash-xs-perl, libparams-classify-perl, libparams-util-perl, libparams-validate-perl, libref-util-xs-perl, libsocket6-perl, libsub-identify-perl, libsub-name-perl, libtext-charwidth-perl, libtext-iconv-perl, libtype-tiny-xs-perl, libunicode-utf8-perl, liburi-escape-xs-perl, libvariable-magic-perl, moulinette, nginx-common, nginx-extras, perl-base, perl-openssl-defaults, perl, slapd, ssowat, yunohost-admin, yunohost
Success! System upgraded

Is there something obvious you see and have a tip how I can fix it?
Thank you!!

Share relevant logs or error messages

https://paste.yunohost.org/raw/uwujalagiq

Urgh yeah I see from the log

2025-03-18 13:07:35,899: DEBUG -       Keep the following packages at their current version:
2025-03-18 13:07:35,899: DEBUG - 1)      libclass-xsaccessor-perl [1.19-3+b7 (now)]
2025-03-18 13:07:35,899: DEBUG - 2)      libluajit-5.1-2 [2.1.0~beta3+git20220320+dfsg-4.1 (now, stable)]
2025-03-18 13:07:35,899: DEBUG - 3)      libluajit-5.1-common [2.1.0~beta3+git20220320+dfsg-4.1 (now, stable)]
2025-03-18 13:07:35,900: DEBUG - 4)      libluajit2-5.1-2 [Not Installed]
2025-03-18 13:07:35,900: DEBUG - 5)      liblzf1 [3.6-3 (now, stable)]

and the fact that you have minetest installed … several people have had this very specific issue

If i remember correctly, you should remove libluajit-5.1-2 using apt remove libluajit-5.1-2. Note that in the process you’ll see that minetest-ynh-deps will also get uninstalled. It’s fine, this is just dependencies and not the actual software nor data. You will just have to force-upgrade the app once the migration is compete to get everything back on track, using yunohost app upgrade minetest --force

sooo after you apt remove libluajit-5.1-2, naively you can try to just re-run the migration

1 Like

Thank you so much for your quick answer!!!
Sorry for the delay, we just had a power outage in our neighborhood and everything went black here for a while, whoops. Luckily the yunohost machine is a laptop with a working battery… phew.

However, I tried your proposed fix, and it looks like there is still some hick-up.

$ sudo apt remove libluajit-5.1-2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 yunohost : Depends: ssowat (>= 11.1) but it is not going to be installed
            Depends: ssowat (< 12.0) but it is not going to be installed
            Depends: nginx
            Depends: nginx-extras (>= 1.18) but it is not going to be installed
            Recommends: php7.4-fpm but it is not going to be installed
            Recommends: php7.4-ldap but it is not going to be installed
            Recommends: php7.4-intl but it is not going to be installed
            Recommends: php7.4-mysql but it is not going to be installed
            Recommends: php7.4-gd but it is not going to be installed
            Recommends: php7.4-curl but it is not going to be installed
            Recommends: php-php-gettext but it is not going to be installed
            Recommends: python3-pip but it is not going to be installed
            Recommends: metronome (>= 3.14.0)
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

I cannot re-run the migration unfortunately. I think it’s because debian is upgraded, but yunohost not?

$ sudo yunohost tools migrations run
Info: No migrations to run

do I upgrade yunohost then best with apt? It is listed as upgradable.

$ sudo apt list --upgradable
Listing... Done
libb-hooks-op-check-perl/stable 0.22-2+b1 amd64 [upgradable from: 0.22-1+b3]
libclass-c3-xs-perl/stable 0.15-1+b3 amd64 [upgradable from: 0.15-1+b1]
libclass-xsaccessor-perl/stable 1.19-4+b1 amd64 [upgradable from: 1.19-3+b7]
libclone-perl/stable 0.46-1 amd64 [upgradable from: 0.45-1+b1]
libconfig-inifiles-perl/stable 3.000003-2 all [upgradable from: 3.000003-1]
libdbi-perl/stable 1.643-4 amd64 [upgradable from: 1.643-3+b1]
libdevel-callchecker-perl/stable 0.008-2 amd64 [upgradable from: 0.008-1+b2]
libfcgi-perl/stable 0.82+ds-2 amd64 [upgradable from: 0.79+ds-2]
libgdbm-compat4/stable 1.23-3 amd64 [upgradable from: 1.19-2]
libgssapi-perl/stable 0.28-4+b1 amd64 [upgradable from: 0.28-3+b3]
libhtml-parser-perl/stable 3.81-1 amd64 [upgradable from: 3.75-1+b1]
libhttp-message-perl/stable 6.44-1 all [upgradable from: 6.28-1]
liblist-moreutils-xs-perl/stable 0.430-3+b1 amd64 [upgradable from: 0.430-2]
liblocale-gettext-perl/stable 1.07-5 amd64 [upgradable from: 1.07-4+b1]
libmoo-perl/stable 2.005005-1 all [upgradable from: 2.004004-1]
libnet-dns-sec-perl/stable 1.20-1+b1 amd64 [upgradable from: 1.18-1+b1]
libnet-libidn-perl/stable 0.12.ds-4+b1 amd64 [upgradable from: 0.12.ds-3+b3]
libnet-ssleay-perl/stable 1.92-2+b1 amd64 [upgradable from: 1.88-3+b1]
libnetaddr-ip-perl/stable 4.079+dfsg-2+b1 amd64 [upgradable from: 4.079+dfsg-1+b5]
libnginx-mod-http-auth-pam/stable 1:1.5.3-3 amd64 [upgradable from: 1.18.0-6.1+deb11u3]
libnginx-mod-http-cache-purge/stable 1:2.3-4 amd64 [upgradable from: 1.18.0-6.1+deb11u3]
libnginx-mod-http-dav-ext/stable 1:3.0.0-3 amd64 [upgradable from: 1.18.0-6.1+deb11u3]
libnginx-mod-http-echo/stable 1:0.63-4 amd64 [upgradable from: 1.18.0-6.1+deb11u3]
libnginx-mod-http-fancyindex/stable 1:0.5.2-3 amd64 [upgradable from: 1.18.0-6.1+deb11u3]
libnginx-mod-http-geoip2/stable 1:3.4-3 amd64 [upgradable from: 1.18.0-6.1+deb11u3]
libnginx-mod-http-geoip/stable 1.22.1-9+deb12u1 amd64 [upgradable from: 1.18.0-6.1+deb11u3]
libnginx-mod-http-headers-more-filter/stable 1:0.34-3 amd64 [upgradable from: 1.18.0-6.1+deb11u3]
libnginx-mod-http-image-filter/stable 1.22.1-9+deb12u1 amd64 [upgradable from: 1.18.0-6.1+deb11u3]
libnginx-mod-http-lua/stable 1:0.10.23-1 amd64 [upgradable from: 1.18.0-6.1+deb11u3]
libnginx-mod-http-ndk/stable 1:0.3.2-3 amd64 [upgradable from: 1.18.0-6.1+deb11u3]
libnginx-mod-http-perl/stable 1.22.1-9+deb12u1 amd64 [upgradable from: 1.18.0-6.1+deb11u3]
libnginx-mod-http-subs-filter/stable 1:0.6.4-4 amd64 [upgradable from: 1.18.0-6.1+deb11u3]
libnginx-mod-http-uploadprogress/stable 1:0.9.2-3 amd64 [upgradable from: 1.18.0-6.1+deb11u3]
libnginx-mod-http-upstream-fair/stable 1:0.0~git20120408.a18b409-3 amd64 [upgradable from: 1.18.0-6.1+deb11u3]
libnginx-mod-http-xslt-filter/stable 1.22.1-9+deb12u1 amd64 [upgradable from: 1.18.0-6.1+deb11u3]
libnginx-mod-mail/stable 1.22.1-9+deb12u1 amd64 [upgradable from: 1.18.0-6.1+deb11u3]
libnginx-mod-nchan/stable 1:1.3.6+dfsg-2 amd64 [upgradable from: 1.18.0-6.1+deb11u3]
libnginx-mod-stream-geoip2/stable 1:3.4-3 amd64 [upgradable from: 1.18.0-6.1+deb11u3]
libnginx-mod-stream-geoip/stable 1.22.1-9+deb12u1 amd64 [upgradable from: 1.18.0-6.1+deb11u3]
libnginx-mod-stream/stable 1.22.1-9+deb12u1 amd64 [upgradable from: 1.18.0-6.1+deb11u3]
libodbc1/stable 2.3.11-2+deb12u1 amd64 [upgradable from: 2.3.6-0.1+b1]
libpackage-stash-xs-perl/stable 0.30-1+b1 amd64 [upgradable from: 0.29-1+b2]
libparams-classify-perl/stable 0.015-2+b1 amd64 [upgradable from: 0.015-1+b3]
libparams-util-perl/stable 1.102-2+b1 amd64 [upgradable from: 1.102-1+b1]
libparams-validate-perl/stable 1.31-1 amd64 [upgradable from: 1.30-1+b1]
libref-util-xs-perl/stable 0.117-2+b1 amd64 [upgradable from: 0.117-1+b3]
libsocket6-perl/stable 0.29-3 amd64 [upgradable from: 0.29-1+b3]
libsub-identify-perl/stable 0.14-3 amd64 [upgradable from: 0.14-1+b3]
libsub-name-perl/stable 0.26-2+b1 amd64 [upgradable from: 0.26-1+b1]
libtext-charwidth-perl/stable 0.04-11 amd64 [upgradable from: 0.04-10+b1]
libtext-iconv-perl/stable 1.7-8 amd64 [upgradable from: 1.7-7+b1]
libtype-tiny-xs-perl/stable 0.025-1 amd64 [upgradable from: 0.022-1]
libunicode-utf8-perl/stable 0.62-2 amd64 [upgradable from: 0.62-1+b2]
liburi-escape-xs-perl/stable 0.14-2+b1 amd64 [upgradable from: 0.14-1+b5]
libvariable-magic-perl/stable 0.63-1+b1 amd64 [upgradable from: 0.62-1+b3]
moulinette/stable 12.0.4 all [upgradable from: 11.3.0]
nginx-common/stable 1.22.1-9+deb12u1 all [upgradable from: 1.18.0-6.1+deb11u3]
nginx-extras/stable 1.22.1-9+deb12u1 amd64 [upgradable from: 1.18.0-6.1+deb11u3]
perl-base/stable 5.36.0-7+deb12u1 amd64 [upgradable from: 5.32.1-4+deb11u4]
perl-openssl-defaults/stable 7+b1 amd64 [upgradable from: 5]
perl/stable 5.36.0-7+deb12u1 amd64 [upgradable from: 5.32.1-4+deb11u4]
slapd/stable 2.5.13+dfsg-5 amd64 [upgradable from: 2.4.57+dfsg-3+deb11u1]
ssowat/stable 12.0.3 all [upgradable from: 11.3.0]
yunohost-admin/stable 12.0.6 all [upgradable from: 11.3.0]
yunohost/stable 12.0.12 all [upgradable from: 11.3.0.2]

Further things I tried:

$ sudo apt-get upgrade -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libb-hooks-op-check-perl libclass-c3-xs-perl libclass-xsaccessor-perl libclone-perl libdbi-perl libdevel-callchecker-perl libfcgi-perl libgssapi-perl libhtml-parser-perl libhttp-message-perl liblist-moreutils-xs-perl liblocale-gettext-perl libnet-dns-sec-perl
  libnet-libidn-perl libnet-ssleay-perl libnetaddr-ip-perl libnginx-mod-http-auth-pam libnginx-mod-http-cache-purge libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-fancyindex libnginx-mod-http-geoip libnginx-mod-http-geoip2
  libnginx-mod-http-headers-more-filter libnginx-mod-http-image-filter libnginx-mod-http-lua libnginx-mod-http-ndk libnginx-mod-http-perl libnginx-mod-http-subs-filter libnginx-mod-http-uploadprogress libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter
  libnginx-mod-mail libnginx-mod-nchan libnginx-mod-stream libnginx-mod-stream-geoip libnginx-mod-stream-geoip2 libodbc1 libpackage-stash-xs-perl libparams-classify-perl libparams-util-perl libparams-validate-perl libref-util-xs-perl libsocket6-perl libsub-identify-perl
  libsub-name-perl libtext-charwidth-perl libtext-iconv-perl libtype-tiny-xs-perl libunicode-utf8-perl liburi-escape-xs-perl libvariable-magic-perl moulinette nginx-common nginx-extras perl perl-base perl-openssl-defaults slapd ssowat yunohost yunohost-admin
0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded.
$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded.

hmokay then let’s try something a bit more elaborate like :

apt install nginx nginx-extras ssowat yunohost=12.0.12 libluajit-5.1-2-

(notice the - sign at the end of libluajit-5.1-2- which actually ask to remove this package even though we’re using apt install)

Aaaaah the - sign, I completely forgot that’s a thing. It’s good you mentioned that, my brain might’ve thought it’s a typo.

I think it looks good… does it? whooooo… scroll down for a status check. I’m just posting the full inbetween steps in case someone has a similar issue and is following it.

$ sudo apt install nginx nginx-extras ssowat yunohost=12.0.12 libluajit-5.1-2-
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'libluajit-5.1-2' is not installed, so not removed
nginx is already the newest version (1.22.1-9+deb12u1).
nginx set to manually installed.
nginx-extras is already the newest version (1.22.1-9+deb12u1).
nginx-extras set to manually installed.
ssowat is already the newest version (12.0.3).
ssowat set to manually installed.
yunohost is already the newest version (12.0.12).
The following packages were automatically installed and are no longer required:
  cmake cmake-data libarchive13 libcurl3-nss libcurl4-nss-dev libgmp-dev libgmpxx4ldbl libicu67 libidn11 libjsoncpp-dev libjsoncpp25 libldap-2.4-2 libllvm11 liblzf1 libnspr4 libnss3 libodbc1 libodbccr2 libperl5.32 libpkgconf3 librhash0 libsqlite3-dev libzstd-dev lua-ldap
  lua-rex-pcre nss-plugin-pem perl-modules-5.32 pkg-config pkgconf pkgconf-bin postgresql-13 postgresql-client-13 redis-server redis-tools
Use 'sudo apt autoremove' to remove them.
Suggested packages:
  odbc-postgresql tdsodbc libsasl2-modules-gssapi-mit | libsasl2-modules-gssapi-heimdal
The following NEW packages will be installed:
  libodbc2 libodbccr2
The following packages will be upgraded:
  libodbc1 slapd
2 upgraded, 2 newly installed, 0 to remove and 2 not upgraded.
Need to get 1,608 kB of archives.
After this operation, 21.5 kB of additional disk space will be used.
Get:1 http://ftp.debian.org/debian bookworm/main amd64 libodbc1 amd64 2.3.11-2+deb12u1 [5,008 B]
Get:2 http://ftp.debian.org/debian bookworm/main amd64 libodbccr2 amd64 2.3.11-2+deb12u1 [17.7 kB]
Get:3 http://ftp.debian.org/debian bookworm/main amd64 libodbc2 amd64 2.3.11-2+deb12u1 [150 kB]
Get:4 http://ftp.debian.org/debian bookworm/main amd64 slapd amd64 2.5.13+dfsg-5 [1,435 kB]
Fetched 1,608 kB in 6s (292 kB/s)
Reading changelogs... Done
apt-listchanges: Mailing root: apt-listchanges: news for computermachin.es
Preconfiguring packages ...
(Reading database ... 75359 files and directories currently installed.)
Preparing to unpack .../libodbc1_2.3.11-2+deb12u1_amd64.deb ...
Unpacking libodbc1:amd64 (2.3.11-2+deb12u1) over (2.3.6-0.1+b1) ...
Selecting previously unselected package libodbccr2:amd64.
Preparing to unpack .../libodbccr2_2.3.11-2+deb12u1_amd64.deb ...
Unpacking libodbccr2:amd64 (2.3.11-2+deb12u1) ...
Selecting previously unselected package libodbc2:amd64.
Preparing to unpack .../libodbc2_2.3.11-2+deb12u1_amd64.deb ...
Unpacking libodbc2:amd64 (2.3.11-2+deb12u1) ...
Setting up libodbc2:amd64 (2.3.11-2+deb12u1) ...
(Reading database ... 75359 files and directories currently installed.)
Preparing to unpack .../slapd_2.5.13+dfsg-5_amd64.deb ...
Saving current slapd configuration to /var/backups/slapd-2.4.57+dfsg-3+deb11u1...
  Dumping to /var/backups/slapd-2.4.57+dfsg-3+deb11u1:
  - directory dc=yunohost,dc=org... done.
Unpacking slapd (2.5.13+dfsg-5) over (2.4.57+dfsg-3+deb11u1) ...
Setting up slapd (2.5.13+dfsg-5) ...
Installing new version of config file /etc/ldap/schema/README ...
Installing new version of config file /etc/ldap/schema/collective.ldif ...
Installing new version of config file /etc/ldap/schema/corba.ldif ...
Installing new version of config file /etc/ldap/schema/core.ldif ...
Installing new version of config file /etc/ldap/schema/core.schema ...
Installing new version of config file /etc/ldap/schema/cosine.ldif ...
Installing new version of config file /etc/ldap/schema/cosine.schema ...
Installing new version of config file /etc/ldap/schema/duaconf.ldif ...
Installing new version of config file /etc/ldap/schema/dyngroup.ldif ...
Installing new version of config file /etc/ldap/schema/dyngroup.schema ...
Installing new version of config file /etc/ldap/schema/inetorgperson.ldif ...
Installing new version of config file /etc/ldap/schema/java.ldif ...
Installing new version of config file /etc/ldap/schema/misc.ldif ...
Installing new version of config file /etc/ldap/schema/misc.schema ...
Installing new version of config file /etc/ldap/schema/nis.ldif ...
Installing new version of config file /etc/ldap/schema/nis.schema ...
Installing new version of config file /etc/ldap/schema/openldap.ldif ...
Installing new version of config file /etc/ldap/schema/openldap.schema ...
Installing new version of config file /etc/ldap/schema/pmi.ldif ...
Installing new version of config file /etc/ldap/schema/pmi.schema ...
  Backing up /etc/ldap/slapd.d in /var/backups/slapd-2.4.57+dfsg-3+deb11u1... done.
  Moving old database directories to /var/backups:
  - directory dc=yunohost,dc=org... done.
  Loading from /var/backups/slapd-2.4.57+dfsg-3+deb11u1:
  - directory dc=yunohost,dc=org... done.
  - chowning database directory (openldap:openldap)... done
Removing obsolete conffile /etc/ldap/schema/ppolicy.schema ...
Removing obsolete conffile /etc/ldap/schema/ppolicy.ldif ...
Setting up libodbccr2:amd64 (2.3.11-2+deb12u1) ...
Setting up libodbc1:amd64 (2.3.11-2+deb12u1) ...
Processing triggers for man-db (2.11.2-2) ...
Processing triggers for libc-bin (2.36-9+deb12u10) ...

inbetween there was this notice (read it and press 'q'):

apt-listchanges: News
---------------------

openldap (2.5.5+dfsg-1~exp1) experimental; urgency=medium

   This is a major release of OpenLDAP, and as such it introduces several
   changes, new features and deprecations/removals.  This is a
   non-exhaustive list of things to be aware of:

   * Removals:
     - The shell backend (slapd-shell) has been removed.
     - The BDB and HDB backends have been removed.

   * Additions:
     - New backend: slapd-asyncmeta(5).
     - New core overlays: slapd-homedir(5), slapd-otp(5), and
       slapd-remoteauth(5).

   * Changes:
     - The ppolicy module now provides its own built-in schema.
       The external ppolicy schema has been removed.

   You can find the upstream announcement containing the full list of
   changes in the 2.5.x series at
   <https://www.openldap.org/software/release/announce.html>.

   In certain situations, it is possible that the post-installation
   scripts will not be able to successfully migrate your current
   installation to new formats (e.g., when you are using an old
   backend like BDB/HDB).  If this happens, you will be notified about
   the failure and the slapd service will NOT be (re)started; you will
   then have to take manual action in order to migrate your data and
   start the service.  Please look at the README.Debian file (under
   /usr/share/doc/slapd/) for more instructions on how to cope with
   some of the most problematic cases.

 -- Ryan Tandy <ryan@nardis.ca>  Fri, 11 Jun 2021 11:43:15 -0700

Okay, now the promised status check:

$ sudo apt-get check
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done

This means no broken packages, right?

$ sudo yunohost tools versions
yunohost:
  repo: stable
  version: 12.0.12
yunohost-admin:
  repo: stable
  version: 11.3.0
yunohost-portal:
  repo: stable
  version: 12.0.8
moulinette:
  repo: stable
  version: 12.0.4
ssowat:
  repo: stable
  version: 12.0.3

Here, it looks as if only yunohost-admin is stuck, however:

$ sudo apt list --upgradable
Listing... Done
libhttp-message-perl/stable 6.44-1 all [upgradable from: 6.28-1]
yunohost-admin/stable 12.0.6 all [upgradable from: 11.3.0]

There is an update available, and I don’t see any red flags, so I’ll just do a simple… (haha, ‘famous last words’? no risk no fun, let’s do it!)

$ sudo apt upgrade -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
  cmake cmake-data libarchive13 libcurl3-nss libcurl4-nss-dev libgmp-dev libgmpxx4ldbl libicu67 libidn11 libjsoncpp-dev libjsoncpp25 libldap-2.4-2 libllvm11 liblzf1 libnspr4 libnss3 libodbc1 libodbccr2 libperl5.32 libpkgconf3 librhash0 libsqlite3-dev libzstd-dev lua-ldap
  lua-rex-pcre nss-plugin-pem perl-modules-5.32 pkg-config pkgconf pkgconf-bin postgresql-13 postgresql-client-13 redis-server redis-tools
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
  libhttp-message-perl yunohost-admin
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 6,178 kB of archives.
After this operation, 1,143 kB of additional disk space will be used.
Get:1 http://ftp.debian.org/debian bookworm/main amd64 libhttp-message-perl all 6.44-1 [81.7 kB]
Get:2 https://forge.yunohost.org/debian bookworm/stable amd64 yunohost-admin all 12.0.6 [6,097 kB]
Fetched 6,178 kB in 1s (4,634 kB/s)
apt-listchanges: Reading changelogs...
(Reading database ... 75369 files and directories currently installed.)
Preparing to unpack .../libhttp-message-perl_6.44-1_all.deb ...
Unpacking libhttp-message-perl (6.44-1) over (6.28-1) ...
Preparing to unpack .../yunohost-admin_12.0.6_all.deb ...
Unpacking yunohost-admin (12.0.6) over (11.3.0) ...
Setting up yunohost-admin (12.0.6) ...
Setting up libhttp-message-perl (6.44-1) ...
Processing triggers for man-db (2.11.2-2) ...

$ sudo yunohost tools versions
yunohost:
  repo: stable
  version: 12.0.12
yunohost-admin:
  repo: stable
  version: 12.0.6
yunohost-portal:
  repo: stable
  version: 12.0.8
moulinette:
  repo: stable
  version: 12.0.4
ssowat:
  repo: stable
  version: 12.0.3

I guess this would be the moment I do yunohost app upgrade minetest --force? However, I might just run minetest on another machine. Less apps = less issues.
Soooo I did sudo yunohost app remove minetest and I’m done, right? This was it? Wtf, this was much easier than I feared.

Thank you so much!!! This has been kind of fun even, I learned something about apt and it was surprisingly simple in the end. THANK YOU for taking your time :tada: :heart: :sign_of_the_horns: