8

I have Ubuntu 16.04. When I do

sudo apt update

I get the following output:

W: Invalid 'Date' entry in Release file /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_xenial-security_InRelease
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_xenial-backports_InRelease
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_xenial-proposed_InRelease

How do I fix this issue?

When I do ls /var/lib/apt/lists I get the output:

http://paste.ubuntu.com/17059541/

When I do gedit /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_xenial-security_InRelease I get the output:

http://paste.ubuntu.com/17059579/

When I do gedit /var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_xenial-backports_InRelease I get the output:

http://paste.ubuntu.com/17059594/

When I do gedit /var/lib/apt/lists/in.archive.ubuntu.com_ubuntu_dists_xenial-proposed_InRelease I get the output:

http://paste.ubuntu.com/17059610/

How to correct this invalid 'date' entry?

closed as off-topic by user117103, dessert, Videonauth, Anwar, Eric Carvalho Nov 24 '17 at 17:49

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This describes a problem that can't be reproduced that seemingly went away on its own or was only relevant to a very specific period of time. It's off-topic as it's unlikely to help future readers." – guntbert, dessert, Videonauth, Anwar, Eric Carvalho
If this question can be reworded to fit the rules in the help center, please edit the question.

  • Could you add the contents of those files listed in that error message (in /var/lib/apt/lists/...) to your question ? – JonasCz - Reinstate Monica Jun 4 '16 at 18:09
  • I have edited my question and added the contents of those files – rancho Jun 5 '16 at 19:05
  • I meant just the content of /var/lib/apt/lists/security.ubuntu.com_ubuntu_dists_xenial-security_InRelease and the other two files listed in your error message, not the list of files in the directory, sorry. – JonasCz - Reinstate Monica Jun 5 '16 at 19:11
  • 1
    Is the date on your system correct? – muru Jun 6 '16 at 12:09
  • The command date in terminal displays correct date and time – rancho Jun 6 '16 at 12:45