linuxapt-getbacktrack-linux

apt-get failed to fetch error


I am trying to use apt-get. I run the following command

apt-get update

But I get this error

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.

Does anyone know what's the problem?? I'm using vmware player


Solution

  • First option

    all.repository.backtrack-linux.org is unreachable (try it in your browser)

    Second option

    The problem is that your virtual machine doesn't have a correct network configuration.

    apt-get can't connect to the network.

    To verify it try :

    ping www.google.com
    

    If it doesn't print results within seconds then you have no internet connection in your virtual machine.

    Look here for network configuration

    By default, Bridged Networking should be enabled and working out of the box. Check your VmWare configuration. Otherwise instructions about setting network configuration in general are detailled in the link.