apt-get update碰到错误
生活随笔
收集整理的這篇文章主要介紹了
apt-get update碰到错误
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
文章目錄
- 問題
- 解決辦法
- 嘗試更新apt-get
問題
Err:10 http://dl.google.com/linux/chrome/deb stable InRelease
Could not connect to dl.google.com:80 (6.6.6.6), connection timed out
Fetched 576 kB in 2min 0s (4,788 B/s)
AppStream cache update completed, but some metadata was ignored due to errors.
Reading package lists… Done
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/InRelease Could not connect to dl.google.com:80 (6.6.6.6), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.
解決辦法
$cd /etc/apt/sources.list.d/ && ls -l sudo mv google-chrome-list google-chrome-list.bak sudo mv google-chrome-list.save google-chrome-list.save.bak把古怪的東西改掉,其實chrome不更新也沒事。實在不行重新裝。
嘗試更新apt-get
$sudo apt-get update果斷OK。
總結
以上是生活随笔為你收集整理的apt-get update碰到错误的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: ubuntu修改mongodb的数据库储
- 下一篇: 如何使用CSDN- Markdown编辑