Cannot update server

Hardware: VPS bought online
YunoHost version: 11.2.11.3 (stable)
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

Cannot update server:

Via web app:

YunoHost ha riscontrato un errore interno
Sono molto dispiaciuto per questo.
Cerca supporto sul forum osulla chat per risolvere la situazione, o segnala un bug sul bugtracker.
La seguente informazione potrebbe essere utile alla persona che ti sta aiutando:
Errore: "500"

Azione: "PUT" /yunohost/api/update/all

Messaggio d'errore:
Impossibile aggiornare la cache di APT (package manager di Debian). Ecco il dump di sources.list, che potrebbe aiutare ad identificare le linee problematiche:
sources.list:deb http://asi-fs-d.contabo.net/debian bullseye main non-free contrib
sources.list:deb-src http://asi-fs-d.contabo.net/debian bullseye main non-free contrib
sources.list:deb http://security.debian.org/debian-security bullseye-security main contrib non-free
sources.list:deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free
sources.list:deb http://asi-fs-d.contabo.net/debian bullseye-updates main contrib non-free
sources.list:deb-src http://asi-fs-d.contabo.net/debian bullseye-updates main contrib non-free
sources.list.d/extra_php_version.list:deb https://packages.sury.org/php/ bullseye main
sources.list.d/yunohost.list:deb [signed-by=/usr/share/keyrings/yunohost-archive-keyring.gpg] http://forge.yunohost.org/debian/ bullseye stable

Processando la richiesta, il server dice:

Recupero degli aggiornamenti disponibili per i pacchetti di sistema…
E: Release file for http://security.debian.org/debian-security/dists/bullseye-security/InRelease is not valid yet (invalid for another 10min 27s). Updates for this repository will not be applied.

Via the cli:

sudo yunohost tools update
[sudo] password for mario: 
Info: Fetching available upgrades for system packages…
Warning: E: Release file for http://security.debian.org/debian-security/dists/bullseye-security/InRelease is not valid yet (invalid for another 6min 43s). Updates for this repository will not be applied.
Error: Unable to update the cache of APT (Debian's package manager). Here is a dump of the sources.list lines, which might help identify problematic lines: 
sources.list:deb http://asi-fs-d.contabo.net/debian bullseye main non-free contrib
sources.list:deb-src http://asi-fs-d.contabo.net/debian bullseye main non-free contrib
sources.list:deb http://security.debian.org/debian-security bullseye-security main contrib non-free
sources.list:deb-src http://security.debian.org/debian-security bullseye-security main contrib non-free
sources.list:deb http://asi-fs-d.contabo.net/debian bullseye-updates main contrib non-free
sources.list:deb-src http://asi-fs-d.contabo.net/debian bullseye-updates main contrib non-free
sources.list.d/extra_php_version.list:deb https://packages.sury.org/php/ bullseye main
sources.list.d/yunohost.list:deb [signed-by=/usr/share/keyrings/yunohost-archive-keyring.gpg] http://forge.yunohost.org/debian/ bullseye stable

See this [SOLVED] Failed System Update - #5 by wbk

2 Likes

It’s crazy but solved :slight_smile:

The system time was incorrect. Rebooted the system and it worked. Thx

2 Likes