How to Update Apt Repository on Kali Linux

Back up the current sources.list first.

1sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup

Well, run this command then.

1sudo echo "deb http://http.kali.org/kali kali-rolling main non-free contrib" > /etc/apt/sources.list

Now you can run apt update command!
Happy networking! ๐Ÿ˜Ž