[ Fixed ] Unable to locate Packages error in Kali Linux 2020.2

                    

[ Fixed ] Unable to locate Packages error in Kali Linux 2020.2

 

Kali Linux has been totally changed but it is appears with many error. The current version of Kali Linux 2020.2 is the biggest graphical update from offensive security but the facing most common error”unable to locate package”.

There are many tutorial are on the internet but they are giving very long solution which is not comfortable for beginners.

Here is the full basic solutions with images

which help you to learn in the easy ways.


Follow the al the given below steps and solve your problem just in a minute.

 

1: Open your terminal in Kali Linux and copy this commands and

then hit enter 

  cd /etc/apt/     

 


 2: Copy this command and again hit enter
 


sudo nano sources.list




3: Now Paste the following script at the end of the line

  if you can't copy it will be in 1st comment


deb http://http.kali.org/kali kali-rolling main contrib non-free
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali kali-rolling main contrib non-free
deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security sana/updates main contrib non-free
# For source package access, uncomment the following line
# deb-src http://http.kali.org/kali sana main non-free contrib
# deb-src http://security.kali.org/kali-security sana/updates main contrib non-free
deb http://old.kali.org/kali moto main non-free contrib
# For source package access, uncomment the following line
# deb-src http://old.kali.org/kali moto main non-free contrib
 
 
 

 After paste the given code it will show like this

 
 
 

Write and Quit the file using CTRL+O and CTRL+X




Now your problem has been solve you can download any package


                                                                 Pakistan Navy Jobs 2021

















1/Post a Comment/Comments

  1. the script:

    deb http://http.kali.org/kali kali-rolling main contrib non-free
    # For source package access, uncomment the following line
    # deb-src http://http.kali.org/kali kali-rolling main contrib non-free
    deb http://http.kali.org/kali sana main non-free contrib
    deb http://security.kali.org/kali-security sana/updates main contrib non-free
    # For source package access, uncomment the following line
    # deb-src http://http.kali.org/kali sana main non-free contrib
    # deb-src http://security.kali.org/kali-security sana/updates main contrib non-free
    deb http://old.kali.org/kali moto main non-free contrib
    # For source package access, uncomment the following line
    # deb-src http://old.kali.org/kali moto main non-free contrib

    ReplyDelete

Post a Comment

Stay Conneted

Like Us