I can't update, upgrade or autoremove

Asked by Randy Nyle Adamson

I can't update, upgrade or autoremove. Here is what I entered:

randy@randy-Inspiron-518:~$ sudo apt-get update
[sudo] password for randy:
Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
Hit:2 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:3 http://archive.canonical.com/ubuntu bionic InRelease
Get:4 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
Reading package lists... Done
E: Release file for http://us.archive.ubuntu.com/ubuntu/dists/bionic/InRelease is not valid yet (invalid for another 88d 7h 34min 40s). Updates for this repository will not be applied.
E: Release file for http://archive.canonical.com/ubuntu/dists/bionic/InRelease is not valid yet (invalid for another 437d 23h 36min 34s). Updates for this repository will not be applied.
E: Release file for http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 452d 20h 40min 18s). Updates for this repository will not be applied.
E: Release file for http://us.archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease is not valid yet (invalid for another 452d 20h 40min 40s). Updates for this repository will not be applied.
randy@randy-Inspiron-518:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  linux-generic linux-headers-generic linux-image-generic
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
randy@randy-Inspiron-518:~$ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
randy@randy-Inspiron-518:~$

You can e-mail me @ <email address hidden> Thanks !

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
Best Manfred Hampl (m-hampl) said :
#1

It seems that the clock settings of your system are completely wrong (probably set to Jan 29, 2018).

Correct the system date, try again and report the results.

Revision history for this message
Randy Nyle Adamson (adamsonrandy) said :
#2

Thanks for your help ! Problem solved !