ubuntu-如何解决错误-Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release
2017-04-28 21:07
561 查看
ubuntu更新(sudo apt-get update)时, 出现错误:
“Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release Unable to find expected entry ‘main/binary-i386/Packages’ in Release file (Wrong sources.list entry or malformed file)”
解决方式:
1,打开 /etc/apt/sources.list.d/google-chrome.list 文件(用vim或者gedit等均可):
sudo vim /etc/apt/sources.list.d/google-chrome.list
2,修改文件内容:
原来是:
deb http://dl.google.com/linux/chrome/deb/ stable main
改为:
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
3,再次执行 更新命令即可通过了
sudo apt-get update
参考:
http://www.omgubuntu.co.uk/2016/03/fix-failed-to-fetch-google-chrome-apt-error-ubuntu
ubuntu更新(sudo apt-get update)时, 出现错误:
“Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release Unable to find expected entry ‘main/binary-i386/Packages’ in Release file (Wrong sources.list entry or malformed file)”
解决方式:
1,打开 /etc/apt/sources.list.d/google-chrome.list 文件(用vim或者gedit等均可):
sudo vim /etc/apt/sources.list.d/google-chrome.list
2,修改文件内容:
原来是:
deb http://dl.google.com/linux/chrome/deb/ stable main
改为:
deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
3,再次执行 更新命令即可通过了
sudo apt-get update
参考:
http://www.omgubuntu.co.uk/2016/03/fix-failed-to-fetch-google-chrome-apt-error-ubuntu
相关文章推荐
- ubuntu-如何解决错误-Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release
- W: GPG error: http://dl.google.com/linux/chrome/deb stable Release: The following signatures couldn'
- Ubuntu下 安装 Android SDK方法(包含Failed to fetch URL https://dl-ssl.google.com/错误的解决方法)
- 更新SDK失败解决办法(Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml)
- 解决:Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list.xml, reason: connect
- Android环境搭建问题的解决:Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml,
- 解决SDK 升级 遇到的 Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml
- Android SDK Manager:Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list.解决办法
- 关于android SDK安装Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml出错
- android SDK安装Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml出错
- 解决:Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_li .
- 解决:Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_li ..
- 关于android SDK安装Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml出错
- 关于android SDK安装Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list-1.xml出错
- 解决:Failed to fetch URL https://dl-ssl.google.com/android/repository/addons_li ..
- Failed to fetch URL http://dl-ssl.google.com/android/repository/repository.xml
- Failed to fetch URL http://dl-ssl.google.com/android/repository/addons_list