Results 1 to 3 of 3

Thread: 'apt-get update' Always showing 404 Not Found on Kali 2.0

  1. #1
    Join Date
    2015-Dec
    Posts
    1

    Unhappy 'apt-get update' Always showing 404 Not Found on Kali 2.0


    Hello guys, I have successfully installed Kali Linux 2.0 but when I update it, it always shows the same error

    This is the output of the terminal EVERYTIME I use 'apt-get update'

    Code:
    Get:1 http://security.kali.org sana/updates InRelease [11.9 kB]
    Get:2 http://http.kali.org sana InRelease [20.3 kB]  
    Get:3 http://security.kali.org sana/updates/main Sources [80.9 kB]
    Get:4 http://security.kali.org sana/updates/contrib Sources [20 B]             
    Get:5 http://http.kali.org sana/main Sources [9,090 kB]                        
    Ign http://security.kali.org sana/updates/contrib Translation-en_PH            
    Ign http://security.kali.org sana/updates/contrib Translation-en               
    Ign http://security.kali.org sana/updates/main Translation-en_PH               
    Ign http://http.kali.org sana/contrib Translation-en_PH                        
    Ign http://security.kali.org sana/updates/main Translation-en                  
    Ign http://http.kali.org sana/contrib Translation-en                           
    Ign http://security.kali.org sana/updates/non-free Translation-en_PH           
    Ign http://http.kali.org sana/main Translation-en_PH                           
    Ign http://security.kali.org sana/updates/non-free Translation-en              
    Ign http://http.kali.org sana/main Translation-en                              
    Ign http://http.kali.org sana/non-free Translation-en_PH                       
    Ign http://http.kali.org sana/non-free Translation-en                          
    Get:6 http://http.kali.org sana/non-free Sources [123 kB]                      
    Err http://http.kali.org sana/main Sources                                     
      
    Err http://http.kali.org sana/main Sources                                     
      404  Not Found
    Get:7 http://security.kali.org sana/updates/non-free Sources [20 B]            
    Get:8 http://http.kali.org sana/contrib Sources [58.3 kB]                      
    Get:9 http://security.kali.org sana/updates/main amd64 Packages [252 kB]       
    Get:10 http://http.kali.org sana/main amd64 Packages [12.8 MB]                 
    Get:11 http://security.kali.org sana/updates/contrib amd64 Packages [20 B]     
    Get:12 http://http.kali.org sana/non-free amd64 Packages [164 kB]              
    Err http://http.kali.org sana/main amd64 Packages                              
      
    Get:13 http://security.kali.org sana/updates/non-free amd64 Packages [20 B]    
    Get:14 http://http.kali.org sana/contrib amd64 Packages [87.7 kB]              
    Fetched 22.7 MB in 6min 19s (59.8 kB/s)                                        
    W: Failed to fetch http://http.kali.org/kali/dists/sana/main/source/Sources  404  Not Found
    
    W: Failed to fetch http://http.kali.org/kali/dists/sana/main/binary-amd64/Packages  Hash Sum mismatch
    
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    I tried different mirrors, but the same error keeps popping up. I also tried different methods such as using 'apt-get clean', using namespace/s: '8.8.8.8 and 8.8.4.4', and clening my '/var/lib/apt/lists/' direcory. And still got no luck

    Would anyone in this forum help me? Thanks

    *NOTE: Only the kali/sana/main/source/Sources is getting a not found result

    Last edited by haken29a; 2015-12-12 at 01:03. Reason: Title

  2. #2
    Join Date
    2014-Nov
    Posts
    10
    Make sure to have http://http.kali.org/kali instead of simply http://http.kali.org in your /etc/apt/sources.list file

  3. #3
    Join Date
    2015-Oct
    Location
    Switzerland
    Posts
    33
    Hi there

    Your /etc/apt/sources.list has to contain the following lines:
    # Regular repositories
    deb http://http.kali.org/kali sana main non-free contrib
    deb http://security.kali.org/kali-security sana/updates main contrib non-free
    If you want source or kali-dev repositories too, read more --> http://docs.kali.org/general-use/kal...t-repositories

    regards, reidamaxia

Similar Threads

  1. Replies: 0
    Last Post: 2020-03-31, 10:58
  2. airbase-ng showing 2 essids since Kali update/upgrade
    By SAH1376 in forum General Archive
    Replies: 8
    Last Post: 2015-12-17, 15:12

Tags for this Thread

Posting Permissions

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