From 1ea851ee6074d31199cc4e9ed05a3b51d124503e Mon Sep 17 00:00:00 2001 From: shaaati Date: Mon, 30 Mar 2020 16:56:26 +0200 Subject: [PATCH] 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). --- external/os-guides/pentesting/kali.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/external/os-guides/pentesting/kali.md b/external/os-guides/pentesting/kali.md index 5cda6f74..09a7bda7 100644 --- a/external/os-guides/pentesting/kali.md +++ b/external/os-guides/pentesting/kali.md @@ -365,7 +365,11 @@ 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.d/qubes-r.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 `/update` to `-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 [user@kali ~]$ sudo apt-get update @@ -525,6 +529,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.d/qubes-r.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 `/update` to `-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 @@ -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-security-naming-convention]: https://www.mail-archive.com/debian-security@lists.debian.org/msg41223.html +