PDA

View Full Version : apt dist-upgrade fails to upgrade the kernel on kali USB live system



velma
2022-07-30, 07:02
I am using kali usb. I ran this cmd to upgrade my kernel from 5.10 to 5.18 as follow:
sudo apt update && sudo apt dist-upgrade

It seems the kernel upgraded in this file "/etc/os-release", but the kernel didn't upgrade actually.
/etc/os-release:
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
ID=kali
VERSION="2022.3"
VERSION_ID="2022.3"
VERSION_CODENAME="kali-rolling"
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="https://www.kali.org/"
SUPPORT_URL="https://forums.kali.org/"
BUG_REPORT_URL="https://bugs.kali.org/"

uname -srv:
Linux 5.10.0-kali9-amd64 #1 SMP Debian 5.10.46-4kali1 (2021-08-09)

So how to upgrade the kernel in kali usb system?

Fred Sheehan
2022-08-01, 01:31
Live USB is a 'fixed' image, it will update 'in computer memory' when system is running, but it can't save those changes to the USB drive