Hi, this look like a beginner error, but I will be glad for the help, I just tried all the thing that I found about this but I cannot fix.
I'm running debian under docker and receiving this error message:
Step 3 : RUN apt-get update && apt-get -y dist-upgrade
---> Running in d7f3fefbcd36
Get:1 http://cdn-fastly.deb.debian.org/debian testing InRelease [150 kB]
Get:2 http://cdn-fastly.deb.debian.org/debian sid InRelease [247 kB]
Reading package lists...
E: Release file for http://deb.debian.org/debian/dists/testing/InRelease is not valid yet (invalid for another 17h 10min 25s). Updates for this repository will not be applied.
E: Release file for http://http.debian.net/debian/dists/sid/InRelease is not valid yet (invalid for another 17h 10min 25s). Updates for this repository will not be applied.
The command '/bin/sh -c apt-get update && apt-get -y dist-upgrade' returned a non-zero code: 100
The docker file structure is:
FROM r-base:3.4.4
RUN apt-get clean
RUN \
apt-get update && \
apt-get -y dist-upgrade
How can I fix this?
Tks
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Repository not valid yet
- Head_on_a_Stick
- Posts: 14114
- Joined: 2014-06-01 17:46
- Location: London, England
- Has thanked: 81 times
- Been thanked: 133 times
Re: Repository not valid yet
You need to set the clock in your docker container, try
Code: Select all
# timedatectl set-ntp on
deadbang