apt-add-repository crashes

Proxecto:Trisquel
Versión:6.0
Componente:Programs
Categoría:informe de erro
Prioridade:normal
Asignado:Sen asignar
Estado:duplicate
Descrición

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!?

Lun, 06/09/2014 - 19:19
Estado: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