Results 1 to 3 of 3

Thread: Unable to 'apt-get update', yet can ping 'http.kali.org'

  1. #1
    Join Date
    2013-May
    Posts
    19

    Unable to 'apt-get update', yet can ping 'http.kali.org'

    I have a Dell Latitude D830 laptop, running Windoze XP as the host OS, VMware Player installed to host VMs and the latest kali v1.03 vm (kali-linux-i386-gnome-vm) downloaded, configured to 2.7 GB RAM, and 2 CPUs, then opened and started the kali VM.

    Attempts to execute: apt-get -y update
    -----------------
    Result in the following:
    Err http://security.kali.org kali/updates InRelease

    Err http://security.kali.org kali/updates Release.gpg
    Unable to connect to security.kali.org:http:
    Err http://http.kali.org kali InRelease

    Err http://http.kali.org kali Release.gpg
    Unable to connect to http.kali.org:http:
    Reading package lists... Done
    W: Failed to fetch http://http.kali.org/kali/dists/kali/InRelease
    W: Failed to fetch http://security.kali.org/kali-securi...ates/InRelease
    W: Failed to fetch http://security.kali.org/kali-securi...es/Release.gpg Unable to connect to security.kali.org:http:
    W: Failed to fetch http://http.kali.org/kali/dists/kali/Release.gpg Unable to connect to http.kali.org:http:
    W: Some index files failed to download. They have been ignored, or old ones used instead.



    Yet, I can successfully ping, both 'http.kali.org' and 'security.kali.org' from within the kali VM:
    ping http.kali.org
    PING http.kali.org (173.246.39.190) 56(84) bytes of data.
    64 bytes from http.kali.org (173.246.39.190): icmp_req=1 ttl=48 time=41.6 ms
    64 bytes from http.kali.org (173.246.39.190): icmp_req=2 ttl=48 time=41.3 ms
    ^C
    --- http.kali.org ping statistics ---
    2 packets transmitted, 2 received, 0% packet loss, time 1000ms
    rtt min/avg/max/mdev = 41.302/41.497/41.692/0.195 ms


    ping security.kali.org
    PING security.kali.org (173.246.39.190) 56(84) bytes of data.
    64 bytes from http.kali.org (173.246.39.190): icmp_req=1 ttl=48 time=42.6 ms
    64 bytes from http.kali.org (173.246.39.190): icmp_req=2 ttl=48 time=38.1 ms
    ^C
    --- security.kali.org ping statistics ---
    2 packets transmitted, 2 received, 0% packet loss, time 1001ms
    rtt min/avg/max/mdev = 38.110/40.388/42.667/2.287 ms



    I've used the kali VM as provided from the download section. Through VMwarePlayer, I could see it was configured to NAT by default, through which DHCP provided the IP address. Pings, as show above are successful when NAT'ing. I adjusted the VM to bridge the network connection, provided a static IP (and associated settings for NM, GW and DNS), and rebooted. I repeated the same pings as above which are again successful, but the apt-get continues to generate errors.

    Noticed that the IceWeasel browser could not browse the internet (say to kali.org) either, though the host can.

    Other computers on the network can successfully ping both the XP host, and the distinct kali VM IP addresses.

    An '/sbin/iptables -L' shows that no firewall rules exist within the VM.

    I'm at a loss here as to what the problem may be, and Debian isn't a Linux distro I'm too familiar with.

  2. #2
    Join Date
    2013-Apr
    Posts
    126
    Do you have a firewall on the host OS ?

  3. #3
    Join Date
    2013-May
    Posts
    4
    assuming there weren't any errors in installation? cat your apt source file here, also try just apt-get update and let us know the user detail you used to run apt, as is was it root or did u create a new normal user.
    set ur network adapter in VMware to behave as if you were on the same network as the host.

Similar Threads

  1. Replies: 24
    Last Post: 2021-01-05, 00:15
  2. apt-get update Could not resolve 'http.kali.org'
    By evolition in forum TroubleShooting Archive
    Replies: 3
    Last Post: 2014-02-20, 22:11

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •