PDA

View Full Version : Does "InRelease is expired" indicate an upstream problem or am I doing something wrong?



jacobq
2019-01-08, 12:05
This is my first time trying to build a custom Kali image. I'm running Debian (9.6/stretch) and following the "Building Kali on Non-Kali Debian Based Systems" section of the docs. When I try to build the image the script seems to fail before the packages are downloaded. The error message is like this:


E: InRelease file http://archive.kali.org/kali/dists/kali-rolling/InRelease is expired since (Mon, 07 Jan 2019 00:00:00 -0600)

This is different than the more common "expired key" messages I found while searching for a solution because it seems to be saying the file itself is expired, not the key. Is this a problem with something outside my machine or am I doing something wrong? How can I work-around or get more information about the problem?

Update: when I run this today the expiration date does indeed increment, i.e.


E: InRelease file http://archive.kali.org/kali/dists/kali-rolling/InRelease is expired since (Tue, 08 Jan 2019 00:00:00 -0600)

Also, I found that I can create a .mirror file to make the script use an alternate URL. If I run

echo "http://http.kali.org" > .mirror
and then run the build script again the error changes to this:

E: Failed getting release file http://http.kali.org/dists/stretch/Release