Installation problem with Docker
Hi there!
Could you help me figure the problem here? I can run all the apt-get commands with sudo independently, but I am not able to do so through docker...
Thanks Greg.
Sending build context to Docker daemon 15.65MB Step 1/15 : FROM ubuntu:18.04 AS run-env ---> c14bccfdea1c Step 2/15 : LABEL Maintainer="Rob EganRSEgan@lbl.gov" ---> Using cache ---> 3dee71ad6067 Step 3/15 : WORKDIR /root ---> Using cache ---> 40289a5f929a Step 4/15 : ENV DEBIAN_FRONTEND=noninteractive ---> Using cache ---> 22992773e109 Step 5/15 : RUN apt-get update && apt-get install -y libgomp1 && apt-get autoremove -y && apt-get clean && apt-get autoclean && rm -rf /var/lib/apt/lists/ ---> Running in 22cff06868f2 Get:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB] Get:2 http://archive.ubuntu.com/ubuntu bionic InRelease [242 kB] Get:3 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB] Get:4 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Get:5 http://archive.ubuntu.com/ubuntu bionic/universe amd64 Packages [11.3 MB] Get:6 http://archive.ubuntu.com/ubuntu bionic/multiverse amd64 Packages [186 kB] Get:7 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 kB] Get:8 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages [1344 kB] Reading package lists... E: Release file for http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease is not valid yet (invalid for another 2h 45min 30s). Updates for this repository will not be applied. E: Release file for http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease is not valid yet (invalid for another 2h 25min 58s). Updates for this repository will not be applied. E: Release file for http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease is not valid yet (invalid for another 2h 23min 5s). Updates for this repository will not be applied. The command '/bin/sh -c apt-get update && apt-get install -y libgomp1 && apt-get autoremove -y && apt-get clean && apt-get autoclean && rm -rf /var/lib/apt/lists/' returned a non-zero code: 100
Comments (2)
-
-
- changed status to resolved
- Log in to comment
Hello. I’ve never seen that problem but a google search reveals that your system may be in a different timezone and not properly recognizing the latest updates for ubuntu.
You should retry in 2h 23 min and or see this post:
https://blog.sleeplessbeastie.eu/2019/11/15/how-to-deal-with-repository-is-not-valid-yet-error/