In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you "Ubuntu19 can not install docker source sample analysis", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "Ubuntu19 can not install docker source sample analysis" this article.
According to the major websites and personal habits, I will use the following method to add Docker feeds:
Root@ubuntu:~# sudo add-apt-repository "deb [arch=amd64] https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu $(lsb_release-cs) stable"
However, using the above command brought me endless annoyance, and I even wondered if I was a qualified linux engineer. I used this command to prompt the following error:
Ign:1 https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu eoan InReleaseErr:2 https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu eoan Release404 Not Found [IP: 218.104.71.170 443] Hit:3 http://cn.archive.ubuntu.com/ubuntu eoan InReleaseHit:4 http://cn.archive.ubuntu.com/ubuntu eoan-updates InReleaseHit:5 http://cn.archive.ubuntu.com/ubuntu eoan-backports InReleaseHit:6 http : / / cn.archive.ubuntu.com/ubuntu eoan-security InReleaseReading package lists... Done E: The repository 'https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu eoan Release' does not have a Release file.N: Updating from such a repository can't be done securely, and is therefore disabled by default.N: See apt-secure (8) manpage for repository creation and user configuration details.
Here is what is in the apt source file:
Deb [arch=amd64] https://download.docker.com/linux/ubuntu eoan stable# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu eoan stabledeb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable
It is found that there are no errors, but you will find that there are all kinds of errors when using apt updates, and in the end, you still can't install without the docker-ce installation package you want:
Root@uduntu:~# apt-get updateGet:1 http://cn.archive.ubuntu.com/ubuntu eoan InRelease [255 kB] Get:2 http://cn.archive.ubuntu.com/ubuntu eoan-updates InRelease [88.4 kB] Hit:3 http://cn.archive.ubuntu.com/ubuntu eoan-backports InReleaseGet:4 http://cn.archive.ubuntu.com/ubuntu eoan-security InRelease [92.9 kB] Ign:5 https://download.docker.com/linux/ubuntu eoan InRelease Err:6 https://download.docker.com/linux/ubuntu eoan Release 404 Not Found [IP: 13.225.103.32 443] Reading package lists... Done E: The repository 'https://download.docker.com/linux/ubuntu eoan Release' does not have a Release file.N: Updating from such a repository can't be done securely, and is therefore disabled by default.N: See apt-secure (8) manpage for repository creation and user configuration details.root@uduntu:~# apt search docker-ceroot@uduntu:~#
I also feel a headache when I encounter this problem. I can't find a lot of solutions on the Internet. Some people say that the network problem is unable to use the source code library of the external network. I was confused when I saw this article. I also tried to install NetEase, Ali and the source of the University of Science and Technology can not better solve the problem, in fact, this is very simple to see how Ali, HKUST and NetEase's source code database is written into the configuration file. And then just draw one more than a gourd.
Solution:
You can add the following to sources.list:
Deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable
Update the apt source:
Root@uduntu:~# apt-get updateGet:1 http://cn.archive.ubuntu.com/ubuntu eoan InRelease [255 kB] Get:2 http://cn.archive.ubuntu.com/ubuntu eoan-updates InRelease [88.4 kB] Hit:3 http://cn.archive.ubuntu.com/ubuntu eoan-backports InReleaseGet:4 http://cn.archive.ubuntu.com/ubuntu eoan-security InRelease [92.9 kB] Get:5 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB] Get:6 https://download.docker.com/linux/ubuntu bionic/stable amd64 Packages [9594 B] Fetched 511 kB in 11s (48.3 kB/s) Reading package lists... Doneroot@uduntu:~#
This is good, do not report wrong, and then check to see if the docker-ce installation package is available:
Root@uduntu:~# apt search docker-ceSorting... DoneFull Text Search... Donedocker-ce/bionic,now 5installed 19.03.4Three-0~ubuntu-bionic amd64 [installed] Docker: the open-source application container enginedocker-ce-cli/bionic,now 5vir 19.03.4room3-0~ubuntu-bionic amd64 [installed,automatic] Docker CLI: the open-source application container engineroot@uduntu:~ is all the contents of the article "sample analysis of docker sources cannot be installed by Ubuntu19". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.