Descryption
Kali Version :
Error type: Error add-apt-repository
Error Message
[text]Traceback (most recent call last):File "/usr/bin/add-apt-repository", line 160, in
sp = SoftwareProperties(options=options)
File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 96, in __init__
self.reload_sourceslist()
File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 584, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python2.7/dist-packages/aptsources/distro.py", line 87, in get_sources
raise NoDistroTemplateException("Error: could not find a "
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template[/text]
Fix Step:
[sociallocker]- gedit /etc/lsb-release
- Tambahkan script ini ke file lsb-release
[text]DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04 LTS"[/text] - Save & Exit
Refrence :
http://indonesianbacktrack.or.id/forum/Thread-Alternatif-Fix-Error-add-apt-repository