Results 1 to 6 of 6

Thread: Release file InRelease is not valid yet (invalid for another XXh YYmin ZZs)

  1. #1
    Join Date
    2018-Oct
    Posts
    2

    Angry Release file InRelease is not valid yet (invalid for another XXh YYmin ZZs)

    Hi all,

    I'm trying to build a custom kali both a vm and iso using packer tool. it has been very frustrating to get this error message during the build,

    E: Release file for http://http.kali.org/kali/dists/kali-rolling/InRelease is not valid yet (invalid for another 2h 56min 0s). Updates for this repository will not be applied.

    Looked like the rolling release is kept being updated during the day. which make it impossible for me to build. I'm wondering if there is any workaround to this invalid period,

    1. is there any repo from a stable release to use (such as 2018.03 release)?
    2. is there any specific mirror site to use so I can avoid the invalid period?
    3. any other workaround?

    Thanks!

  2. #2
    Join Date
    2016-Dec
    Posts
    806
    1. No distribution has a static repository, it is always being updated
    2. You can try a different mirror from https://http.kali.org/README.mirrorlist
    3. Always remember that Kali is based on Debian testing, so in this case, when searching online, pretty much any solution for Debian or Ubuntu should work (with some adaptation obviously). I haven't checked this but the error message matches yours and there seems to be a solution https://askubuntu.com/questions/1049...apt-get-update

  3. #3
    Join Date
    2018-Oct
    Posts
    2
    Thank you for your inputs.
    1. Correct, no repository is static. but what I need is relative stable release. where you can find a good time window so you can build a custom Kali, i mean during your build period, it won't make Release file invalid in between. When you're already in the build process, suddenly in the middle of nowhere, the Release file becomes invalid, it voids your whole build process. it really wastes time, very frustrated.

    At some time I like the kali rolling release which continues rolling out new updates, never need to reinstall OS like traditional release base. But now for build purpose, I like to have a traditional release base for build purpose. the previous kali release is just too old for a base as now.

    2. yes, I already tried a mirror but which experiences the same issue. I think the mirror is in sync with master repository all the times.

    3. Had found this post from google. it's a different issue, not helpful to my situation.

    Anyway thanks again for your prompt response.

  4. #4
    Join Date
    2016-Dec
    Posts
    806
    1. The time on the specific repository might have been incorrect at the time of the sync.
    2. How many mirrors have you tried?

    Have you tried again in the past few days?

  5. #5
    Join Date
    2019-Mar
    Posts
    1
    i guess solution is set your system time and use "sudo" before apt-get update.

  6. #6
    Join Date
    2016-Dec
    Posts
    806
    I have a laptop that consistently lose time and before I do anything, I have to sync the time.

    Run 'date' in the terminal to confirm the time is good.

Similar Threads

  1. Release File Not Valid Yet
    By Zonark in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2021-01-21, 19:12
  2. Invalid Release File
    By 15lloyrv in forum Installing Archive
    Replies: 5
    Last Post: 2014-05-31, 06:48
  3. Replies: 0
    Last Post: 2014-01-06, 19:16
  4. Replies: 1
    Last Post: 2013-12-21, 09:55

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •