Fix Kali Linux Update repository

Today I’ve tried to start a Kali Linux virtual machine running on virtual box that I’ve installed and played with more than a half year ago. I’ve tried to get a modyfied version of reaver running where I had to compile the source code. There was a dependency missing and while I was trying to install the missing dependency I’ve realized that something with my Kali linux update repository was wrong,

lib_cap_error

kali_upd1To resolve this issue I had to check the /etc/apt/sources.list file.

I’ve changed it from:

#regular repository
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 repository
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
#beta repositry
deb http://repo.kali.org/kali kali-bleeding-edge main

to:

#regular repository
deb http://http.kali.org/kali kali-current main non-free contrib
deb http://security.kali.org/kali-security kali-current/updates main contrib non-free
#source repository
deb-src http://http.kali.org/kali kali-current main non-free contrib
deb-src http://security.kali.org/kali-security kali-current/updates main contrib non-free
#beta repositry
deb http://repo.kali.org/kali kali-bleeding-edge main

If we have done that, we can type the following command to clean the cache, upgrade the system and applications:

apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y

After reboot the system I did run into another issue, that the GNOME Desktop was broken 😡

To fix this I did run: apt-get install gnome-core kali-defaults kali-root-login desktop-base

Finally I had to install the Vbox Guest additions and do a apt-get update &&apt-get upgrade again:

cp /media/cd-rom/VBoxLinuxAdditions.run /root/
chmod 755 /root/VBoxLinuxAdditions.run
cd /root
./VboxLinuxAdditions.run

Howto install the modyfied version of reaver and run a pixie-dust attack will follow in another article!

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert.