Project: | Trisquel |
Version: | 6.0 |
Component: | Programs |
Category: | bug report |
Priority: | normal |
Assigned: | Unassigned |
Status: | duplicate |
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!?
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