apt-get update 失败

本文指导Linux用户解决在安装Chrome浏览器时遇到的错误,包括如何修改sources.list文件以安装64位版本的Chrome,以及对于32位系统的用户,提供卸载Chrome并尝试使用Chromium作为替代方案的建议。

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/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值