Fix Kali Linux sources.list Repositories
Fix default repository
First after installing a clean Kali Linux the sources.list counte only tow repository and they are
E: Unable to locate package
The simplest way is to edit the
/etc/apt/sources.list
remove or comment every-line with # at the front and add the following lines..
Terminal command : leafpad /etc/apt/sources.list
after this comment you will get something like this
First after installing a clean Kali Linux the sources.list counte only tow repository and they are
## Regular repositoriesif you try to do update it maybe update a few apps and if you try to install a new app 90% it wont and it will give you a massage like this one
deb http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
E: Unable to locate package
The simplest way is to edit the
/etc/apt/sources.list
remove or comment every-line with # at the front and add the following lines..
Terminal command : leafpad /etc/apt/sources.list
after this comment you will get something like this
now remove every line of them and add this new lines
## Regular repositories
deb http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
## Source repositories
deb-src http://http.kali.org/kali kali main non-free contrib
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
deb http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
## Source repositories
deb-src http://http.kali.org/kali kali main non-free contrib
deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
Save and close the file. Details and explanations can be found in adding official Kali Linux Repositories page.
Clean, update, upgrade and dist-upgrade your Kali installation.
The command
apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
Clean, update, upgrade and dist-upgrade your Kali installation.
The command
apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
sumber:http://kalitut.blogspot.com/2014/06/fix-kali-linux-sourceslist-repositories.html
Tidak ada komentar:
Posting Komentar