The add-apt-repository function is not working

Code:
add-apt
bash: add-apt: command not found

I read the kali forum and it said to run the following commands in the given link

https://forums.kali.org/archive/index.php/t-292.html

it does not work

Many ubuntu forums said to install common-software-properties or python-software-properties or python3-software-properties

Code:
apt-get install python-software-properties
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package python-software-properties is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'python-software-properties' has no installation candidate
Code:
apt-get install python3-software-properties
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package python3-software-properties
Code:
apt-get install common-software-properties
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package common-software-properties
root@root:~# apt-get install software-common-properties
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locroot@root:~# sudo apt-get update
Reading package lists... Done
root@root:~# 
ate package software-common-properties
As you can see nothing is working.

On further research I was told to simply update repositories and then try reinstalling but apt-get update didn't work

Code:
root@root:~# sudo apt-get update
Reading package lists... Done
root@root:~#
I am using kali rolling.

I have used linux for a few months but I have only recently started using kali so please keep the solution as detailed as possible.