Update kali.md

Added documentation on how to handle the updated repository name in current Debian testing (see https://www.reddit.com/r/debian/comments/ca2fvn/debian_testing_fails_to_upgrade_now/?utm_source=share&utm_medium=web2x and https://www.mail-archive.com/debian-security@lists.debian.org/msg41223.html for details on why this is required).
This commit is contained in:
shaaati 2020-03-30 16:56:26 +02:00 committed by GitHub
parent cf96294705
commit 0e2957883b

View File

@ -366,6 +366,10 @@ There are multiple ways to create a Kali Linux VM:
[user@kali ~]$ sudo sed -i 's/stretch/buster/g' /etc/apt/sources.list [user@kali ~]$ sudo sed -i 's/stretch/buster/g' /etc/apt/sources.list
[user@kali ~]$ sudo sed -i 's/stretch/buster/g' /etc/apt/sources.list.d/qubes-r<X>.list [user@kali ~]$ sudo sed -i 's/stretch/buster/g' /etc/apt/sources.list.d/qubes-r<X>.list
For installation based on Debian 10 stable, please note that the security repository of Debian testing has [recently been renamed][Debian-security-naming-convention] from `<current testing>/update` to `<current-testing>-security`. To account for that change, execute the following command.
[user@kali ~]$ sudo sed -i 's/bullseye\/updates/bullseye-security/g' /etc/apt/sources.list
5. Upgrade `kali` template to latest Debian testing release 5. Upgrade `kali` template to latest Debian testing release
[user@kali ~]$ sudo apt-get update [user@kali ~]$ sudo apt-get update
@ -526,6 +530,10 @@ These instructions will show you how to upgrade a Debian TemplateVM to Kali Linu
[user@kali-rolling ~]$ sudo sed -i 's/stretch/buster/g' /etc/apt/sources.list [user@kali-rolling ~]$ sudo sed -i 's/stretch/buster/g' /etc/apt/sources.list
[user@kali-rolling ~]$ sudo sed -i 's/stretch/buster/g' /etc/apt/sources.list.d/qubes-r<X>.list [user@kali-rolling ~]$ sudo sed -i 's/stretch/buster/g' /etc/apt/sources.list.d/qubes-r<X>.list
For installation based on Debian 10 stable, please note that the security repository of Debian testing has [recently been renamed][Debian-security-naming-convention] from `<current testing>/update` to `<current-testing>-security`. To account for that change, execute the following command.
[user@kali ~]$ sudo sed -i 's/bullseye\/updates/bullseye-security/g' /etc/apt/sources.list
5. Upgrade `kali-rolling` template to latest Debian testing release 5. Upgrade `kali-rolling` template to latest Debian testing release
[user@kali-rolling ~]$ sudo apt-get update [user@kali-rolling ~]$ sudo apt-get update
@ -607,3 +615,5 @@ Thanks to the people in [the discussion thread](https://github.com/QubesOS/qubes
[Debian-releases]: https://www.debian.org/releases/ [Debian-releases]: https://www.debian.org/releases/
[Debian-security-naming-convention]: https://www.mail-archive.com/debian-security@lists.debian.org/msg41223.html