This post about repository issues
some times when you want to install software by terminal like (" sudo apt-get install codeblock") you get "E: Unable to locate package" Error
To solve this problem
1. open terminal
2. run this command "leafpad /etc/apt/sources.list"
and replace with this
#
# deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 2$
# deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 2$
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib
deb http://ftp.be.debian.org/debian/ wheezy main
save and close the file
after that
1. sudo apt-get clean
2. sudo apt-get update
3. sudo apt-get -f install
now you can install what you want
if you face any kind of problem you can ask me in comment section
some times when you want to install software by terminal like (" sudo apt-get install codeblock") you get "E: Unable to locate package" Error
To solve this problem
1. open terminal
2. run this command "leafpad /etc/apt/sources.list"
and replace with this
#
# deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 2$
# deb cdrom:[Debian GNU/Linux 2016.1 _Kali-rolling_ - Official Snapshot amd64 LIVE/INSTALL Binary 2$
deb http://http.kali.org/kali kali-rolling main non-free contrib
deb-src http://http.kali.org/kali kali-rolling main non-free contrib
deb http://ftp.be.debian.org/debian/ wheezy main
save and close the file
after that
1. sudo apt-get clean
2. sudo apt-get update
3. sudo apt-get -f install
now you can install what you want
if you face any kind of problem you can ask me in comment section
very useful information.Good job sameer
ReplyDelete