An error occurred in the Docker build Python environment

Source: Internet
Author: User
Tags local time

Before the interview, the interviewer asked me in addition to the resume these you have other level, I think I said I solve the bug better than the average person, but the interviewer a face disdain to tell me, solve the bug is more need experience, then gave me a problem is Redis is get not, actually have value, How to solve this kind of bug, I said that look at the log ... Anyway said some ideas, the interviewer to deny. The reason is to find a bug more is to need experience, then there is nothing to refute as if to say the right, until just encountered a problem, in the use of Docker when the build Python-related image, the following error occurred


Get:9 http://archive.ubuntu.com/ubuntu bionic/restricted amd64 Packages [13.5 KB]
Reading Package Lists ...
E:release file for http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease isn't valid yet (invalid for Anoth ER 6h 34min 34s). Updates for this repository won't is applied.
E:release file for http://archive.ubuntu.com/ubuntu/dists/bionic-updates/InRelease isn't valid yet (invalid for another 6h 34min 38s). Updates for this repository won't is applied.
E:release file for http://archive.ubuntu.com/ubuntu/dists/bionic-backports/InRelease isn't valid yet (invalid for Anoth ER 6h 34min 57s). Updates for this

Google translated the following explanation is "not valid (another 6 hours 34 minutes 34 seconds invalid). Updates for this repository will not be applied. ", I tried to open the http://security.ubuntu.com/ubuntu/dists/bionic-security/InRelease looked, saw the time-related words, think about whether the local time is not the cause of the Use the date command to look at the next, sure enough, their virtual machine in the time difference of more than 20 hours, and then Baidu CentOS update times, the use of National Service Center for synchronization, and then do not report this error, this shows what the truth.

To find this problem I first Baidu the wrong keyword, the answer is as follows ... Http://blog.sina.com.cn/s/blog_59cc90640102xmdq.html

Change the source of what, I was in the Docker build is unable to follow this tutorial changes, then I guess this is not the answer I want, so according to the above method, came up with the wrong point of occurrence.

In other words, Baidu Google to search for questions and answers and historical experience, and so on, are not the ability to solve problems, it is only the primary, I summed up the emergence of a bug solution no other, see who blind the direction of the right, who will find the answer, the key to see (guess) (guessing), this is my ability, The subject of the monk!

An error occurred in the Docker build Python environment

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.