root@scrzero:~# sudo add-apt-repository ppa:gns3/ppa
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 95, in <module>
sp = SoftwareProperties(options=options)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources
(self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Kali/kali-rolling
You should try this :
root@scrzero:~# wget http://blog.anantshri.info/content/uploads/2010/09/add-apt-repository.sh.txt^C
root@scrzero:~# cp add-apt-repository.sh.txt /usr/sbin/add-apt-repository
root@scrzero:~# chmod o+x /usr/sbin/add-apt-repository
root@scrzero:~# chown root:root /usr/sbin/add-apt-repository
root@scrzero:~# sudo add-apt-repository ppa:gns3/ppa
gns3/ppa
Executing: /tmp/apt-key-gpghome.mL4uzkKD60/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-keys