no access to software sources

8 respostas [Última entrada]
Kromaz
Desconectado
Joined: 06/07/2014

No access into the software sources. I noticed the problem after installing updates. When I click software sources in all settings or the settings button in update manager it does nothing. This is a fresh install Trisquel 6.0.1 32 bit. Has anyone have or had this same problem recently? Any help to get this fixed would be great. Thanks

lembas
Desconectado
Joined: 05/13/2010

Hmm... works on 64 bits. What happens if you open a terminal and run

software-properties-gtk

if anything? Any errors?

Kromaz
Desconectado
Joined: 06/07/2014

Seems to give me this error.

Traceback (most recent call last):
File "/usr/bin/software-properties-gtk", line 104, in
app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, file=file)
File "/usr/lib/python2.7/dist-packages/softwareproperties/gtk/SoftwarePropertiesGtk.py", line 89, in __init__
SoftwareProperties.__init__(self, options=options, datadir=datadir)
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

lembas
Desconectado
Joined: 05/13/2010

What is the output of

lsb_release -a
Kromaz
Desconectado
Joined: 06/07/2014

No LSB modules are available.
Distributor ID: Trisquel
Description: Trisquel GNU/Linux 6.0.1, Toutatis
Release: 6.0.1
Codename: Toutatis

Legimet
Desconectado
Joined: 12/10/2013

I just noticed that I had the same problem. The fix is as follows: open /etc/lsb-release. Where it says DISTRIB_CODENAME=Toutatis, change the capital T to a lowercase one. Your lsb-release file should look like the one attached.

AnexoTamaño
lsb-release.txt 125 bytes
Legimet
Desconectado
Joined: 12/10/2013

I created an issue and patch to the package helper for the relevant package, base-files. See https://trisquel.info/en/issues/11841.

lembas
Desconectado
Joined: 05/13/2010

Thanks alot!

Kromaz
Desconectado
Joined: 06/07/2014

This indeed worked. Thanks for all the help lembas & Legimet!