Migration Debian Bullseye and YunoHost 11.x

:uk: / :us:

My YunoHost server

Hardware: Raspberry Pi4 at home
YunoHost version: 4.4.2.14
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

Hi,
I want to upgrade my yunohost to 11.x and Debian Bullseye.

I face what seems a familiar problem: libc6-dev : Breaks: libgcc-8-dev.
I thought this had been resolved for latest 4.4.x versions but maybe I got it wrong. There are some instructions to follow for similar issues in this forum but I’m not quite sure of what has been done or not, so I prefer directly ask for help.

Please find the logs here:
https://paste.yunohost.org/raw/oyikutamem
and here:
https://paste.yunohost.org/raw/arinuxujem


:fr:

Mon serveur YunoHost

Matériel: Raspberry Pi4 à la maison
Version de YunoHost: 4.4.2.14
J’ai accès à mon serveur : En SSH | Par la webadmin
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non

Description du problème

Bonjour,
je cherche Ă  faire la migration Bullseye et yunohost 11.x.

J’ai un problème libc6-dev : Breaks: libgcc-8-dev.
J’ai vu qu’il y a des problèmes similaires aux miens, et je pensais que la mise à jour en 4.4.2.14 devait faire l’affaire… mais apparemment non. Comme j’ai du mal à avoir de la visibilité entre ce qui a été corrigé sur ce bug et les commandes recommandées sur le forum pour les problèmes similaires, je préfère demander de l’aide.

Voici les messages de log:
https://paste.yunohost.org/raw/oyikutamem
puis:
https://paste.yunohost.org/raw/arinuxujem

Merci.
Thomas.

try this i copy paste my answer from another post

, its looks like you have the same problem,

according to your log its look like there an issue with locked cache

please try the next commands:
sudo su
cd /
cd /var/cache/debconf/
delete any file you see there, they should be .dat files
for example:
rm config.dat-old
rm config.dat

after that run:
sudo apt-get clean
sudo apt-get autoremove
sudo dpkg --configure -a
sudo apt-get update

===========================================

if it doesn’t work delete the defected packages
sudo apt-get purge libc6
cd /
cd /var/lib/dpkg/info
rm libc6:amd64.conffiles
rm libc6:amd64.list
rm libc6:amd64.md5sums
rm libc6:amd64.postinst
rm libc6:amd64.postrm
rm libc6:amd64.preinst
rm libc6:amd64.shlibs
rm libc6:amd64.symbols
rm libc6:amd64.templates
rm libc6:amd64.triggers
rm libc6-dev:amd64.list
rm libc6-dev:amd64.md5sums

sudo apt-get clean
sudo apt-get autoremove
sudo dpkg --configure -a
sudo apt-get update

if all goes right and you are able to update your system
set back and install libc6
by the command:
sudo apt-get install libc6

In that log, naively what seems to be blocking the upgrade is libglib2.0-0 and other related libs, which seems to be related some to some graphical environment…

So first I would try to apt remove libglib2.0-0 --dry-run and see how that goes

Also mautrix-whatsapp explicitly depends on g++, which is probably causing issues too :

mautrix-whatsapp-ynh-deps : Depends: g++