apt-get update 失败

If you are using Chrome on Linux you may get a error saying “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) Some index files failed to download. They have been ignored, or old ones used instead.” This is because 32-Bit Chrome builds has been discontinued.
If you are on Linux x64 enter this into the command line: sudo gedit /etc/apt/sources.list.d/google-chrome.list place [arch=amd64] after deb and before http so the line now looks like this: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
If you are on Linux x32 you will need to uninstall chrome due to no more security updates will be offered. Your distribution may offer chromium-browser. Chromium will be updated by your linux distribution not by Google.

转自:
https://www.reddit.com/r/chrome/comments/48oje6/linux_how_to_fix_failed_to_fetch/

你可能感兴趣的:(apt-get update 失败)