*** This bug is a duplicate of bug 874329 ***
    https://bugs.launchpad.net/bugs/874329

try to install PPA manager :

 sudo add-apt-repository ppa:webupd8team/y-ppa-manager[sudo] password for 
raoul: 
You are about to add the following PPA to your system:
 Y PPA Manager

Info and feedback: http://www.webupd8.org/2010/11/y-ppa-manager-easily-
search-add-remove.html

This PPA is for Y PPA Manager and also includes the latest YAD for Quantal, 
Precise, Oneiric, Natty, Maverick and Lucid (YAD is a dependency for Y PPA 
Manager): http://code.google.com/p/yad/
 More info: https://launchpad.net/~webupd8team/+archive/y-ppa-manager
Press [ENTER] to continue or ctrl-c to cancel adding it

Traceback (most recent call last):
  File "/usr/bin/add-apt-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 
distribution template
raoul@raoul-VGN-FS115B:~$

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/978008

Title:
  add-apt-repository crashed with NoDistroTemplateException in
  get_sources(): Error: could not find a distribution template

To manage notifications about this bug go to:
https://bugs.launchpad.net/software-properties/+bug/978008/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to