← Back to team overview

elementary-dev-community team mailing list archive

lsb_release breaks apt-add-repo ?

 

Does anyone know how to fix this? It happend today for the first time.

[simon@tempest:~]
% sudo apt-add-repository ppa:smndtrl/elementary
[sudo] password for simon:
Traceback (most recent call last):
  File "/usr/bin/apt-add-repository", line 91, in <module>
    sp = SoftwareProperties(options=options)
  File
"/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py",
line 109, in __init__
    self.reload_sourceslist()
  File
"/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py",
line 599, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89,
in get_sources
    (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a
distribution template for elementary OS/isis