我正在尝试使用apt-get
。我运行以下命令
apt-get update
但是我收到了这个错误
Err http://all.repository.backtrack-linux.org revolution Release.gpg
Could not connect to all.repository.backtrack-linux.org:80 (37.221.173.214). - connect (111: Connection refused)
Err http://all.repository.backtrack-linux.org/ revolution/main Translation-en_US
Unable to connect to all.repository.backtrack-linux.org:http:
Err http://all.repository.backtrack-linux.org/ revolution/microverse Translation-en_US
Unable to connect to all.repository.backtrack-linux.org:http:
Err http://all.repository.backtrack-linux.org/ revolution/non-free Translation-en_US
Unable to connect to all.repository.backtrack-linux.org:http:
Err http://all.repository.backtrack-linux.org/ revolution/testing Translation-en_US
Unable to connect to all.repository.backtrack-linux.org:http:
Err http://64.repository.backtrack-linux.org revolution Release.gpg
Could not connect to 64.repository.backtrack-linux.org:80 (37.221.173.214). - connect (111: Connection refused)
Err http://64.repository.backtrack-linux.org/ revolution/main Translation-en_US
Unable to connect to 64.repository.backtrack-linux.org:http:
Err http://64.repository.backtrack-linux.org/ revolution/microverse Translation-en_US
Unable to connect to 64.repository.backtrack-linux.org:http:
Err http://64.repository.backtrack-linux.org/ revolution/non-free Translation-en_US
Unable to connect to 64.repository.backtrack-linux.org:http:
Err http://64.repository.backtrack-linux.org/ revolution/testing Translation-en_US
Unable to connect to 64.repository.backtrack-linux.org:http:
Err http://source.repository.backtrack-linux.org revolution Release.gpg
Could not connect to source.repository.backtrack-linux.org:80 (37.221.173.214). - connect (111: Connection refused)
Err http://source.repository.backtrack-linux.org/ revolution/main Translation-en_US
Unable to connect to source.repository.backtrack-linux.org:http:
Err http://source.repository.backtrack-linux.org/ revolution/microverse Translation-en_US
Unable to connect to source.repository.backtrack-linux.org:http:
Err http://source.repository.backtrack-linux.org/ revolution/non-free Translation-en_US
Unable to connect to source.repository.backtrack-linux.org:http:
Err http://source.repository.backtrack-linux.org/ revolution/testing Translation-en_US
Unable to connect to source.repository.backtrack-linux.org:http:
Reading package lists... Done
W: Failed to fetch http://all.repository.backtrack-linux.org/dists/revolution/Release.gpg Could not connect to all.repository.backtrack-linux.org:80 (37.221.173.214). - connect (111: Connection refused)
W: Failed to fetch http://all.repository.backtrack-linux.org/dists/revolution/main/i18n/Translation-en_US.bz2 Unable to connect to all.repository.backtrack-linux.org:http:
W: Failed to fetch http://all.repository.backtrack-linux.org/dists/revolution/microverse/i18n/Translation-en_US.bz2 Unable to connect to all.repository.backtrack-linux.org:http:
W: Failed to fetch http://all.repository.backtrack-linux.org/dists/revolution/non-free/i18n/Translation-en_US.bz2 Unable to connect to all.repository.backtrack-linux.org:http:
W: Failed to fetch http://all.repository.backtrack-linux.org/dists/revolution/testing/i18n/Translation-en_US.bz2 Unable to connect to all.repository.backtrack-linux.org:http:
W: Failed to fetch http://64.repository.backtrack-linux.org/dists/revolution/Release.gpg Could not connect to 64.repository.backtrack-linux.org:80 (37.221.173.214). - connect (111: Connection refused)
W: Failed to fetch http://64.repository.backtrack-linux.org/dists/revolution/main/i18n/Translation-en_US.bz2 Unable to connect to 64.repository.backtrack-linux.org:http:
W: Failed to fetch http://64.repository.backtrack-linux.org/dists/revolution/microverse/i18n/Translation-en_US.bz2 Unable to connect to 64.repository.backtrack-linux.org:http:
W: Failed to fetch http://64.repository.backtrack-linux.org/dists/revolution/non-free/i18n/Translation-en_US.bz2 Unable to connect to 64.repository.backtrack-linux.org:http:
W: Failed to fetch http://64.repository.backtrack-linux.org/dists/revolution/testing/i18n/Translation-en_US.bz2 Unable to connect to 64.repository.backtrack-linux.org:http:
W: Failed to fetch http://source.repository.backtrack-linux.org/dists/revolution/Release.gpg Could not connect to source.repository.backtrack-linux.org:80 (37.221.173.214). - connect (111: Connection refused)
W: Failed to fetch http://source.repository.backtrack-linux.org/dists/revolution/main/i18n/Translation-en_US.bz2 Unable to connect to source.repository.backtrack-linux.org:http:
W: Failed to fetch http://source.repository.backtrack-linux.org/dists/revolution/microverse/i18n/Translation-en_US.bz2 Unable to connect to source.repository.backtrack-linux.org:http:
W: Failed to fetch http://source.repository.backtrack-linux.org/dists/revolution/non-free/i18n/Translation-en_US.bz2 Unable to connect to source.repository.backtrack-linux.org:http:
W: Failed to fetch http://source.repository.backtrack-linux.org/dists/revolution/testing/i18n/Translation-en_US.bz2 Unable to connect to source.repository.backtrack-linux.org:http:
W: Some index files failed to download, they have been ignored, or old ones used instead.
有谁知道这是什么问题? 我正在使用vmware播放器
答案 0 :(得分:0)
第一个选项
all.repository.backtrack-linux.org无法访问(在浏览器中尝试)
第二个选项
问题是您的虚拟机没有正确的网络配置。
apt-get无法连接到网络。
要验证它,请尝试:
ping www.google.com
如果它在几秒钟内没有打印结果,那么您的虚拟机中没有互联网连接。
查看here了解网络配置
默认情况下,应启用桥接网络并开箱即用。检查您的VmWare配置。否则,通常会在链接中详细说明有关设置网络配置的说明。
答案 1 :(得分:-2)
我几天都遇到了同样的问题,
解决方案: 您需要重置" sources.list"文件并执行此操作,您将按照以下步骤操作:
我写了一篇关于图片的帖子,请在这里查看:http://saleh360.blogspot.com/2015/05/ubuntu-update-some-index-files-failed.html