kali linux update code example

Example 1: update kali

apt-get update && apt-get upgrade

Example 2: how to full update kali linux

sudo apt full-upgrade -y

Example 3: update metsploit kali linux

First Try
sudo apt-get remove metasploit-framework
then,
sudo apt  update ; sudo apt install metasploit-framework
or
sudo msfupdate

Example 4: how to update kali linux

sudo apt-get update 
sudo apt-get upgrade

Example 5: kali linux upgrade to new version

sudo apt update && sudo apt full-upgrade -y