Sunday, July 27, 2014

Fixing issues with Kali Linux repositories

You need to add the correctly repositories to /etc/apt/sources.list then add correct gpg keys. It's pretty quick and easy. I'm surprised I never blogged this yet. So what you want to do is go to this page and get the repository information.

http://docs.kali.org/general-use/kali-linux-sources-list-repositories

In a console add this:


gpg --recv-keys AED4B06F473041FA
gpg -a --export AED4B06F473041FA| sudo apt-key add -

or maybe this


gpg --keyserver pgpkeys.mit.edu --recv-key AED4B06F473041FA
gpg -a --export AED4B06F473041FA| sudo apt-key add -

apt-get update
apt-get upgrade
or apt-get dist-upgrade
This should resolve the problem with the repositories. Sometimes there is a problem with apt configuration when you install the system without a network connection. This happens  with pretty much any Debian based linux. If you install the system with ethernet cable plugged in and use the software mirrors option to install all of the software everything will usually install correctly. I used to have this problem with Ubuntu all the time.

No comments:

Post a Comment