apt-add-repository crashes

Progetto:Trisquel
Versione:6.0
Componente:Programs
Categoria:segnalazione di bug
Priorità:normal
Assigned:Non assegnata
Stato:duplicate
Descrizione

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
Stato: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