apt-add-repository crashes

Projekt:Trisquel
Version:6.0
Komponente:Programs
Kategorie:Fehlerbericht
Priorität:normal
Zugewiesen:nicht zugewiesen
Status:duplicate
Beschreibung

Was trying to add the repository for qBittorrent and got this:

Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 185, in
sp = SoftwareProperties(options=options)
File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 97, in __init__
self.reload_sourceslist()
File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 585, 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

Why!?

Mo, 06/09/2014 - 20:19
Status:active» duplicate

A symptom of issue 11841. The fix is easy, change Toutatis to toutatis in /etc/lsb-release (for DISTRIB_CODENAME)

https://trisquel.info/en/issues/11841