If you installed the OS offline, you will need to update the repository list to get future updates.
Let's keep this short.
Open sources.list file with any text editor :
:~# nano /etc/apt/sources.list
Now replace the text in the file with this:
## Regular reppositories
deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security sana/updates main contrib non-free
## Source reporitories
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
I found the above links here:
http://docs.kali.org/general-use/kali-linux-sources-list-repositories
^ This is the official site. Visit the link for more details.
Now the file should look like this image:
Now run:
:~# apt-get update
WARNING: These 4 links are enough for normal updates and installing packages. Add other repositories only if it's really important.
Let's keep this short.
Open sources.list file with any text editor :
:~# nano /etc/apt/sources.list
Now replace the text in the file with this:
## Regular reppositories
deb http://http.kali.org/kali sana main non-free contrib
deb http://security.kali.org/kali-security sana/updates main contrib non-free
## Source reporitories
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
I found the above links here:
http://docs.kali.org/general-use/kali-linux-sources-list-repositories
^ This is the official site. Visit the link for more details.
Now the file should look like this image:
Now run:
:~# apt-get update
WARNING: These 4 links are enough for normal updates and installing packages. Add other repositories only if it's really important.
Comments
Post a Comment