Comment 1 for bug 624927

Revision history for this message
Tom Gall (tom-gall) wrote :

I've hitting this as well on my amd64 maverick install.

# add-apt-repository ppa:linaro-maintainers/kernel
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

# ls /etc/apt/sources.list.d
overlay.list
root@w00tstock:~# cat /etc/apt/sources.list.d/overlay.list
# sources.list part for the chessy overlay ppa
deb http://ppa.launchpad.net/linaro-maintainers/overlay/ubuntu maverick main

It does appear that it partially works however trying to add other ppa's fail with the same error.