美文网首页
【转】ubuntu-如何解决错误-Failed to fetch

【转】ubuntu-如何解决错误-Failed to fetch

作者: iceyer | 来源:发表于2018-12-03 19:24 被阅读0次

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


作者:liuk10
来源:CSDN
原文:https://blog.csdn.net/liuk10/article/details/50955407
版权声明:本文为博主原创文章,转载请附上博文链接!

相关文章

网友评论

      本文标题:【转】ubuntu-如何解决错误-Failed to fetch

      本文链接:https://www.haomeiwen.com/subject/lpjucqtx.html