国产 无码 综合区,色欲AV无码国产永久播放,无码天堂亚洲国产AV,国产日韩欧美女同一区二区

Ubuntu執(zhí)行sudo apt-get update報(bào)錯(cuò)E: Failed to fetch https://mirrors.aliyun.com/docker-ce/linux/ubuntu/di

這篇具有很好參考價(jià)值的文章主要介紹了Ubuntu執(zhí)行sudo apt-get update報(bào)錯(cuò)E: Failed to fetch https://mirrors.aliyun.com/docker-ce/linux/ubuntu/di。希望對(duì)大家有所幫助。如果存在錯(cuò)誤或未考慮完全的地方,請(qǐng)大家不吝賜教,您也可以點(diǎn)擊"舉報(bào)違法"按鈕提交疑問。

Ubuntu執(zhí)行sudo apt-get update報(bào)錯(cuò)E: Failed to fetch https://mirrors.aliyun.com/docker-ce/linux/ubuntu/dists/xenial/InRelease Unable to find expected entry ‘stable/source/Sources’ in Release file (Wrong sources.list entry or malformed file)

報(bào)錯(cuò)內(nèi)容:

E: Failed to fetch https://mirrors.aliyun.com/docker-ce/linux/ubuntu/dists/xenial/InRelease  Unable to find expected entry 'stable/source/Sources' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch https://pkg.jenkins.io/debian-stable/binary/InRelease  Could not resolve host: pkg.jenkins.io
W: Some index files failed to download. They have been ignored, or old ones used instead.

報(bào)錯(cuò)原因:

# 這個(gè)錯(cuò)誤可能是由于源列表文件(/etc/apt/sources.list)中的條目不正確或文件格式不正確。
# 可以嘗試使用以下命令備份源列表文件并創(chuàng)建一個(gè)新的源列表文件:

解決辦法:

sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
sudo nano /etc/apt/sources.list

# 在編輯器中打開源列表文件后,將內(nèi)容替換為以下內(nèi)容(適用于 Ubuntu 16.04,根據(jù)版本自查源地址):

# 阿里云鏡像源:

  deb http://mirrors.aliyun.com/ubuntu/ xenial main restricted universe multiverse
  deb http://mirrors.aliyun.com/ubuntu/ xenial-security main restricted universe multiverse
  deb http://mirrors.aliyun.com/ubuntu/ xenial-updates main restricted universe multiverse
  deb http://mirrors.aliyun.com/ubuntu/ xenial-backports main restricted universe multiverse
  deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable
  deb https://pkg.jenkins.io/debian-stable binary/

# 清華大學(xué)鏡像源:
  deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial main restricted universe multiverse
  deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
  deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
  deb https://mirrors.tuna.tsinghua.edu.cn/ubuntu/ xenial-security main restricted universe multiverse
  deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable
  deb https://pkg.jenkins.io/debian-stable binary/

# 將其中之一添加到 `/etc/apt/sources.list` 文件中,
# 保存后運(yùn)行 `sudo apt-get clean' 'sudo apt-get update` 命令,應(yīng)該可以成功更新索引文件

sudo apt-get clean

sudo apt-get update

補(bǔ)充:

如果還是沒有辦法解決問題,請(qǐng)按照下面步驟操作一遍文章來源地址http://www.zghlxwxcb.cn/news/detail-761134.html

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -

sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"

sudo apt-get clean

sudo apt-get update

到了這里,關(guān)于Ubuntu執(zhí)行sudo apt-get update報(bào)錯(cuò)E: Failed to fetch https://mirrors.aliyun.com/docker-ce/linux/ubuntu/di的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!

本文來自互聯(lián)網(wǎng)用戶投稿,該文觀點(diǎn)僅代表作者本人,不代表本站立場(chǎng)。本站僅提供信息存儲(chǔ)空間服務(wù),不擁有所有權(quán),不承擔(dān)相關(guān)法律責(zé)任。如若轉(zhuǎn)載,請(qǐng)注明出處: 如若內(nèi)容造成侵權(quán)/違法違規(guī)/事實(shí)不符,請(qǐng)點(diǎn)擊違法舉報(bào)進(jìn)行投訴反饋,一經(jīng)查實(shí),立即刪除!

領(lǐng)支付寶紅包贊助服務(wù)器費(fèi)用

相關(guān)文章

覺得文章有用就打賞一下文章作者

支付寶掃一掃打賞

博客贊助

微信掃一掃打賞

請(qǐng)作者喝杯咖啡吧~博客贊助

支付寶掃一掃領(lǐng)取紅包,優(yōu)惠每天領(lǐng)

二維碼1

領(lǐng)取紅包

二維碼2

領(lǐng)紅包