好湿?好紧?好多水好爽自慰,久久久噜久噜久久综合,成人做爰A片免费看黄冈,机机对机机30分钟无遮挡

主頁 > 知識庫 > 分享Ubuntu19無法安裝docker源問題

分享Ubuntu19無法安裝docker源問題

熱門標簽:江西外呼系統(tǒng) 北海市地圖標注app 外呼系統(tǒng)打哪顯哪 新邵電銷機器人企業(yè) 湖北ai智能電銷機器人 高德地圖標注論壇 AI電銷機器人 源碼 蘭州ai電銷機器人招商 新科美甲店地圖標注

按照各大網(wǎng)站以及個人習慣我會使用下面這種方法添加Docker源:

root@ubuntu:~# sudo add-apt-repository "deb [arch=amd64] https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu $(lsb_release -cs) stable"

然而使用上面這條命令給我?guī)砹藷o盡的煩惱,甚至我都懷疑我是不是一個合格的linux工程師了,使用了這條命令提示以下錯誤:

Ign:1 https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu eoan InRelease

Err:2 https://mirrors.ustc.edu.cn/docker-ce/linux/ubuntu eoan Release
404 Not Found [IP: 218.104.71.170 443]
Hit:3 http://cn.archive.ubuntu.com/ubuntu eoan InRelease
Hit:4 http://cn.archive.ubuntu.com/ubuntu eoan-updates InRelease
Hit:5 http://cn.archive.ubuntu.com/ubuntu eoan-backports InRelease
Hit:6 http://cn.archive.ubuntu.com/ubuntu eoan-security InRelease
Reading 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.

下面是apt源文件中的內容:

deb [arch=amd64] https://download.docker.com/linux/ubuntu eoan stable
# deb-src [arch=amd64] https://download.docker.com/linux/ubuntu eoan stable
deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable 

發(fā)現(xiàn)是沒有任何錯誤的,但是你會發(fā)現(xiàn)在使用apt更新時會出現(xiàn)各種各樣報錯,最終還是沒有你想要的docker-ce安裝包,還是無法安裝:

root@uduntu:~# apt-get update
Get: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 InRelease
Get: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-ce
root@uduntu:~#

遇到這種問題我也覺得很頭疼,在網(wǎng)上找了很多解決方法都是不行,有人都說是網(wǎng)絡問題無法使用外網(wǎng)的源碼庫,我看到這個文章我都懵了,我還試過安裝網(wǎng)易、阿里以及科大的源都不能更好的解決問題,其實這個很簡單看一下阿里、科大和網(wǎng)易的他們的源碼庫是怎么往配置文件里面寫的,然后比葫蘆畫瓢畫一個不就完了

解決方法:

在sources.list添加下面這一條就可以:

deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable

更新apt源:

root@uduntu:~# apt-get update
Get: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 InRelease
Get: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 [9,594 B] Fetched 511 kB in 11s (48.3 kB/s) 
Reading package lists... Done
root@uduntu:~#

這樣就好了,不報錯了,再看看docker-ce這個安裝包有沒有:

root@uduntu:~# apt search docker-ce
Sorting... Done
Full Text Search... Done
docker-ce/bionic,now 5:19.03.4~3-0~ubuntu-bionic amd64 [installed]
 Docker: the open-source application container engine

docker-ce-cli/bionic,now 5:19.03.4~3-0~ubuntu-bionic amd64 [installed,automatic]
 Docker CLI: the open-source application container engine

root@uduntu:~

總結

以上所述是小編給大家介紹的分享Ubuntu19無法安裝docker源問題,希望對大家有所幫助,如果大家有任何疑問請給我留言,小編會及時回復大家的。在此也非常感謝大家對腳本之家網(wǎng)站的支持!
如果你覺得本文對你有幫助,歡迎轉載,煩請注明出處,謝謝!

標簽:南陽 黔東 池州 海南 自貢 阿克蘇 黃石 大理

巨人網(wǎng)絡通訊聲明:本文標題《分享Ubuntu19無法安裝docker源問題》,本文關鍵詞  分享,Ubuntu19,無法,安裝,;如發(fā)現(xiàn)本文內容存在版權問題,煩請?zhí)峁┫嚓P信息告之我們,我們將及時溝通與處理。本站內容系統(tǒng)采集于網(wǎng)絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《分享Ubuntu19無法安裝docker源問題》相關的同類信息!
  • 本頁收集關于分享Ubuntu19無法安裝docker源問題的相關信息資訊供網(wǎng)民參考!
  • 推薦文章
    主站蜘蛛池模板: 直男室友让我爽了一夜男男 | 狗日女人逼| 综合伊人| 嫩模大尺度众筹私拍视频| 亚洲区激情区图片小说区| 日韩伦理片免费在线观看| 黄色app免费看| 亚洲熟妇久久夜色精品酒店| 国产999精品久久久影片的推荐理由 | 国产日皮| 陪读乱肉第12部分| 中文字幕乱码一区久久麻豆樱花| 韩国激情吸乳完整电影在线| 欧美肥妇BWBWBWBXX小说 | 精东黄| 受虐狂性兴奋调教| 1688毛片免费观看| 亚洲精品电影hhh| 三亚三黄三色AAA毛片| 校园男男高h小黄文| 联盟在ig我说了算| 我的365黑大佬第四部| 日产无码久久久久久精品红桃| 国产精品亚洲电影久久成人影院| 久久久精彩视频| 国产又粗又猛又爽又黄A片漫画| 国内精品久久人妻一区二区三区 | 美女尿口无摭挡秘?视频| 亚洲人成色777777商业模式| 大地资源网在线观看免费| 欧美又粗又深又猛又爽A片免费看| 国产免费电影网站入口| 又色又爽又黄的视频网站在线观看| 欧美曰韩性受一区AV片| 国产玖玖玖精品视频| 综合久久精品| 国产无人区二卡三卡四卡不见星空| 年轻的小婊2韩剧| 亚洲欧美日韩国产色另类 | 国产精品无码专区A片男同软件| 久久精品99久久香蕉国产浪潮|