View Issue Details

IDProjectCategoryView StatusLast Update
0005568Kali LinuxGeneral Bugpublic2025-07-14 09:36
Reporterthecowmilk Assigned Torhertzog  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version2019.2 
Summary0005568: Wrong Date and Time Prevent Me To Update or Upgarde Kali Linux Version.
Description

My problem is that I can not update or upgrade my Kali Linux machine. Whenever I ran the "apt-get update (or upgrade)" or " sudo apt-get update (or upgrade)" I got this error message:
Get:1 http://kali.download/kali kali-rolling InRelease [30.5 kB]
Reading package lists... Done
E: Release file for http://http.kali.org/kali/dists/kali-rolling/InRelease is not valid yet (invalid for another 17h 43min 13s). Updates for this repository will not be applied.

I have research this issue online in the internet and the answer was the same that I had wrong time zone. So I checked it with the following command: " dpkg-reconfigure tzdata ". After this command I realize that I was in a different time zone, so I changed it and set my current state time zone.

But even after this change my Kali Linux machine was unable to update or upgrade. I also have tried fixing this issue by trying to switch on Automatic Time & Date by going to Setting > Details > Time & Date. But it refuses to switch on, it stays off.

After these tries I haven't tried anything else. I hope my problem will be considerate and it will be fixed soon.

Many Thanks in Advance!

Activities

steev

steev

2019-06-28 21:45

reporter   ~0010752

If your clock is wrong, you need to either manually set it to the correct time via the date command, or you need to run something like ntpdate in order to sync to an ntp server to set it.

Reconfiguring the timezone won't do anything to change the system's local time, just the timezone itself.

thecowmilk

thecowmilk

2019-06-29 17:58

reporter   ~0010754

Hello Steev, first let me thank you, that you took your time to help me. I ran your "ntpdate" command and it said that this command was not found. I research on the internet about this command and I found a site that told me how to download/install it. So I went back to my terminal and ran the command: " sudo yum install ntp "

This command gave the following output:
" There are no enabled repos.
Run "yum repolist all" to see the repos you have.
You can enable repos with yum-config-manager --enable <repo> "

As instructed by the output, the following step I'd make is to list the repos and then when I 'listed' them, it showed me that I had no available repos. It gave me the following output:
repolist: 0

What is the next step I should make to fix this?

rhertzog

rhertzog

2019-07-01 08:32

administrator   ~0010756

You should document yourself better, please have a look at http://kali.training... it will teach you how to install software: apt install ntpdate.

Your request should have been sent to a user support forum, not to a bug tracker. Closing the bug now.

Issue History

Date Modified Username Field Change
2019-06-28 18:39 thecowmilk New Issue
2019-06-28 21:45 steev Note Added: 0010752
2019-06-29 17:58 thecowmilk Note Added: 0010754
2019-07-01 08:32 rhertzog Assigned To => rhertzog
2019-07-01 08:32 rhertzog Status new => closed
2019-07-01 08:32 rhertzog Resolution open => no change required
2019-07-01 08:32 rhertzog Note Added: 0010756
2025-07-14 09:36 g0tmi1k Priority high => normal