Impossible de terminer la migration suite a une perte de connexion

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 11.3.0.2
How are you able to access your server: The webadmin
SSH

Describe your issue

Bonjour,
Après mise à jour de mon serveur en 11.3.0.2, j’ai lancé la migration vers la version 12 en SSH.
Ma connexion internet a été coupée pendant la migration.
Depuis, impossible de relancer la migration, j’ai une erreur indiquant “Failed to run command ‘aptitude update’”
Pourriez-vous m’aider à résoudre ce problème pour continuer la migration ?
PS : J’ai accès à l’interface webadmin, mais il y a des erreurs 500 sur beaucoup de fenêtres.

Merci d’avance pour votre aide !

Share relevant logs or error messages

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

Bonsoir,

Visiblement il y a le processus 21812 qui n’a pas rendu la main lors des mises à jour :

2025-03-16 19:11:15,782: WARNING - E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 21812 (dpkg)
2025-03-16 19:11:15,792: WARNING - E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
2025-03-16 19:11:15,793: WARNING - E: Couldn’t rebuild package cache
2025-03-16 19:11:16,794: ERROR - Migration 0027_migrate_to_bookworm did not complete, aborting. Error: Failed to run command ‘aptitude update’

Il faudrait réessayer de lancer la migration.
Cependant, peut-être faudra-t-il préalablement lancer ces commandes :

sudo dpkg --configure -a
sudo aptitude update

ppr

1 Like

Merci !
Effectivement, j’ai pu terminer la migration après ces deux commandes.
Bonne soirée !

1 Like