(Solved) Error “Release file is not yet valid”
· One min read
Pernah mengalami error seperti ini ketika melakukan update package di linux?
sudo apt-get update
---
Hit:1 http://id.archive.ubuntu.com/ubuntu bionic InRelease
Get:2 http://id.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Get:3 http://id.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
Get:4 http://id.archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Reading package lists... Done
E: Release file for http://id.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease is not valid yet (invalid for another 54d 9h 55min 48s). Updates for this repository will not be applied.
E: Release file for http://id.archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease is not valid yet (invalid for another 54d 9h 56min 55s). Updates for this repository will not be applied.
E: Release file for http://id.archive.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 54d 9h 55min 1s). Updates for this repository will not be applied.
Solusi
Cukup melakukan eksekusi kode di bawah ini untuk membuatnya menjadi normal kembali.
sudo hwclock --hctosys