使用 sudo apt-get update 时出错

使用 sudo apt-get update 时出错

我正在使用 ubuntu 12.04,在使用 sudo apt-get update 命令时出现此错误:

Hit http://in.archive.ubuntu.com precise-backports/universe Translation-en     
Fetched 4,683 kB in 1min 14s (62.6 kB/s)                                       
W: Failed to fetch http://downloads-distro.mongodb.org/repo/ubuntu-upstart/dists/dist/Release  Unable to find expected entry '10gen/source/Sources' 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.

我该如何改正它?

答案1

这只是一个警告。如果你想关闭它,请编辑 sources.list 文件以注释掉包含以下内容的 deb-src 行:

http://downloads-distro.mongodb.org/repo/ubuntu-upstart/dists/dist/Release分布 10gen

相关内容