domingo, 16 de noviembre de 2014

solucion al error add repository kali linux

  File "/usr/bin/apt-add-repository", line 160, in <module>
    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 distributio

Solución :
add-apt-repository
============================================================


wget http://blog.anantshri.info/content/uploads/2010/09/add-apt-repository.sh.txt

============================================================


cp add-apt-repository.sh.txt /usr/sbin/add-apt-repository

============================================================


chmod o+x /usr/sbin/add-apt-repository

============================================================


chown root:root /usr/sbin/add-apt-repository
============================================================
enjoy :)

No hay comentarios:

Publicar un comentario