Comment 2 for bug 624927

Revision history for this message
alfer (rmn-shev) wrote :

After upgrading to maverick, I can't use add-apt-repository anymore. The full traceback is:

Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 55, in <module>
    sp = SoftwareProperties()
  File "/usr/lib/python2.6/dist-packages/softwareproperties/SoftwareProperties.py", line 90, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python2.6/dist-packages/softwareproperties/SoftwareProperties.py", line 538, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)
  File "/usr/lib/python2.6/dist-packages/aptsources/distro.py", line 90, in get_sources
    raise NoDistroTemplateException("Error: could not find a "
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template

I got this specifically with:

sudo add-apt-repository ppa:libreoffice/ppa

But it has happened so far for every ppa I've tried to add.