Migration from YNH 11 to YNH 12 on raspberry 3 failed to fetch

What type of hardware are you using: Raspberry Pi 3, 4+
What YunoHost version are you running: 11
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 ?: nope

Describe your issue

Migration from YNH 11 to YNH 12 failed

After this, yunohost commands were not available, thus I then ran manually
aptitude full-upgrade --show-why -o Dpkg::Options::='--force-confold'

accepted to keep the old config files, and took the recommanded dependency conflict handling.
See e.g. the diff for dovecot config

2025-05-05 13:36:43,510: INFO - Downloading...
2025-05-05 13:52:14,538: WARNING - E: Failed to fetch http://deb.debian.org/debian/pool/main/m/mariadb/mariadb-client-core_10.11.11-0%2bdeb12u1_arm64.deb: Error reading from server - read (104: Connection reset>
2025-05-05 13:52:14,544: WARNING - E: Unable to fetch some packages; try '-o APT::Get::Fix-Missing=true' to continue with missing packages

The stuff after “Connection reset” is truncated but this sounds like a network issue and not much we can do on yunohost side ..

After succesfully runing aptitude full-upgrade --show-why -o Dpkg::Options::='--force-confold'
I managed to restart the migration which seems to have finished without issue.