Erreur : Impossible de mettre à jour le cache APT

What type of hardware are you using: VPS bought online
What YunoHost version are you running: YunoHost 12.1.39 (stable)
How are you able to access your server: The webadmin
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: Non

Describe your issue

Impossible de mettre à jour le cache APT (gestionnaire de paquets Debian).
Voici un extrait du fichier sources.list qui pourrait vous aider à identifier les lignes problématiques :
sources.list.d/nodesource.list:deb [arch=amd64 signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
sources.list.d/extra_php_version.list:deb [signed-by=/etc/apt/trusted.gpg.d/extra_php_version.gpg] Index of /php/ bookworm main

Share relevant logs or error messages

Impossible de mettre à jour le cache APT (gestionnaire de paquets Debian).
Voici un extrait du fichier sources.list qui pourrait vous aider à identifier les lignes problématiques :
sources.list.d/nodesource.list:deb [arch=amd64 signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main
sources.list.d/extra_php_version.list:deb [signed-by=/etc/apt/trusted.gpg.d/extra_php_version.gpg] Index of /php/ bookworm main

Solution :

rm /etc/apt/sources.list.d/nodesource.list
rm /usr/share/keyrings/nodesource.gpg
rm /etc/apt/sources.list.d/extra_php_version.list
rm /etc/apt/trusted.gpg.d/extra_php_version.gpg
yunohost tools regen-conf apt -f

Si ça peut aider.