1. 程式人生 > >ubuntu18.04無法下載 http://dl.google.com/linux/chrome/deb/dists/stable/InRelease 無法連線上 dl.google.com:80

ubuntu18.04無法下載 http://dl.google.com/linux/chrome/deb/dists/stable/InRelease 無法連線上 dl.google.com:80

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  
版權宣告:本文為博主原創文章,轉載請附上博文連結!