In a nutshell, if you try to update your copy of Kali 1.* that you still like to use, you can get this error:
Err http://security.kali.org kali/updates/main amd64 Packages
404 Not Found
This is because that link does not work any more, so you get the standard HTTP 404 error.
To fix it, you will need to fix up the file that is pointing to the old repo location. Using your favorite text editor (I use vim), get your /etc/apt/sources.list file to contain this text:
/-------- START AT THE # ----------------/
#
# deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20140108-17:05]/ kali contrib main non-free
#deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot amd64 LIVE/INSTALL Binary 20140108-17:05]/ kali contrib main non-free
deb http://old.kali.org/kali moto main non-free contrib
#deb-src http://http.kali.org/kali kali main non-free contrib
## Security updates
deb http://old.kali.org/kali-security moto/updates main contrib non-free
/-------- STOP AFTER FREE ----------------/
This is a good spot to take a snapshot if you are using a VM.
Once you save the file you can run the commands
apt-get update
apt-get upgrade
(I would restart the computer here if I got a lot of upgrades.)
apt-get dist-upgrade
No comments:
Post a Comment