Cum se remediază eroarea „Repository is not valid yet” în Ubuntu Linux
Când am folosit comanda ‘sudo apt update’, mi-a dat o eroare care a fost unică pentru mine. S-a plâns că fișierul de lansare pentru depozit nu a fost valid pentru o anumită perioadă de timp.
E: Eliberați fișierul pentru http://ports.ubuntu.com/ubuntu-ports/dists/focal-security/InRelease nu este încă valid (nevalid pentru alte 159d 15h 20min 52s). Actualizările pentru acest depozit nu vor fi aplicate.
Iată rezultatul complet:
ubuntu@ubuntu:~$ sudo apt update
Hit:1 http://ports.ubuntu.com/ubuntu-ports focal InRelease
Get:2 http://ports.ubuntu.com/ubuntu-ports focal-updates InRelease [111 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports focal-backports InRelease [98.3 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports focal-security InRelease [107 kB]
Reading package lists... Done
E: Release file for http://ports.ubuntu.com/ubuntu-ports/dists/focal/InRelease is not valid yet (invalid for another 21d 23h 17min 25s). Updates for this repository will not be applied.
E: Release file for http://ports.ubuntu.com/ubuntu-ports/dists/focal-updates/InRelease is not valid yet (invalid for another 159d 15h 21min 2s). Updates for this repository will not be applied.
E: Release file for http://ports.ubuntu.com/ubuntu-ports/dists/focal-backports/InRelease is not valid yet (invalid for another 159d 15h 21min 32s). Updates for this repository will not be applied.
E: Release file for http://ports.ubuntu.com/ubuntu-ports/dists/focal-security/InRelease is not valid yet (invalid for another 159d 15h 20min 52s). Updates for this repository will not be applied.
[mai mult...]