我在更新apt
时遇到问题。
运行apt-get update
Ign http://dl.google.com stable InRelease
Hit http://ftp.bg.debian.org testing InRelease
Hit http://dl.google.com stable Release.gpg
Hit http://dl.google.com stable Release
Hit http://ftp.bg.debian.org testing/main Sources/DiffIndex
Hit http://ftp.bg.debian.org testing/contrib Sources/DiffIndex
Hit http://ftp.bg.debian.org testing/non-free Sources/DiffIndex
Hit http://ftp.bg.debian.org testing/main armhf Packages/DiffIndex
Hit http://ftp.bg.debian.org testing/contrib armhf Packages/DiffIndex
Hit http://ftp.bg.debian.org testing/non-free armhf Packages/DiffIndex
Hit http://ftp.bg.debian.org testing/main i386 Packages/DiffIndex
Hit http://ftp.bg.debian.org testing/contrib i386 Packages/DiffIndex
Hit http://ftp.bg.debian.org testing/non-free i386 Packages/DiffIndex
Hit http://ftp.bg.debian.org testing/contrib Translation-en/DiffIndex
Hit http://ftp.bg.debian.org testing/main Translation-en/DiffIndex
Hit http://ftp.bg.debian.org testing/non-free Translation-en/DiffIndex
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/Release Unable to find expected entry 'main/binary-armhf/Packages' in Release file (Wrong sources.list entry or malformed file)
E: Some index files failed to download. They have been ignored, or old ones used instead.
我不知道dl.google.com
来自source.list
之所以来自哪里:
deb http://ftp.bg.debian.org/debian testing main contrib non-free
deb-src http://ftp.bg.debian.org/debian testing main contrib non-free
提前致谢。
答案 0 :(得分:0)
我真的认为您遇到的问题是由/etc/apt/sources.list.d/
文件夹中的某些错误条目引起的。检查此文件夹并删除与dl.google.com
相关的所有内容,然后重试,一切都应该正常。您可能已经通过google的.deb软件包安装了google-chrome,以及那些在该文件夹中自动添加的条目。
注意:执行此操作后,您的google-chrome将不会收到任何更新,因此对于新版本,您必须使用dpkg
清除它,然后重新下载并重新安装。< / p>
答案 1 :(得分:0)
尝试以下步骤:
Go to Applications -> 'ubuntu software center'
Click on Edit -> Software Sources
Click on 'Other software' tab
Uncheck the line containing 'http://dl.google.com/linux'
Press Close
Exit 'ubuntu software center'
Retry apt-get update on command-line