Merci d’abord pour votre travail, je suis très très très content d’avoir un serveur Yunohost
Mon serveur YunoHost
Matériel: Raspberry Pi 4 Version de YunoHost: 4.3.6.3 J’ai accès à mon serveur : En SSH | Par la webadmin
Description du problème
Lorsque je fais une mise à jour des applications en ligne de commande (yunohost app upgrade) j’ai le message d’erreur : Error: You cannot do this right now because dpkg/APT (the system package managers) seems to be in a broken state... You can try to solve this issue by connecting through SSH and running "sudo apt install --fix-broken" and/or "sudo dpkg --configure -a".
Les commande apt install --fix-brokenand/orsudo dpkg --configure -a` s’exécutent correctement.
La mise à jour du système par “apt update; apt upgrade” fonctionne en ligne de commande. Elle échoue par contre depuis l’interface Web avec le même message d’erreur cité précédement.
Je ne vois pas de configuration particulière qui aurait pu mener à cette situation. C’est arrivé depuis environ 3 semaines alors que le serveur tourne depuis plusieurs années.
Est-ce que vous voyez d’où cela peut venir, s’il vous plaît ?
Je peux repartir d’une installation initiale, mais s’il y a une autre solution plus rapide je suis preneur.
root@yuno:~# yunohost app upgrade
Info: The following apps will be upgraded: wallabag2, nextcloud, shaarli, freshrss, gitea
Info: Now upgrading wallabag2…
Success! wallabag2 is already up-to-date
Info: Now upgrading nextcloud…
Error: You cannot do this right now because dpkg/APT (the system package managers) seems to be in a broken state… You can try to solve this issue by connecting through SSH and running sudo apt install --fix-broken and/or sudo dpkg --configure -a.
There are many errors in the diagnosis that should have been fixed. I don’t know your hardware, there is probably some specificities regarding its configuration.
Try apt autoremove and the three others above.
But be sure to have a backup and be ready for a reinstall.
Thank you for your help.
I’m going for a reinstall. I have another raspberry pi4, another sd card to do it in parallel. And the backups! An occasion to test the recovery process.