no access to software sources

8 Antworten [Letzter Beitrag]
Kromaz
Offline
Beigetreten: 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
Offline
Beigetreten: 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
Offline
Beigetreten: 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
Offline
Beigetreten: 05/13/2010

What is the output of

lsb_release -a
Kromaz
Offline
Beigetreten: 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
Offline
Beigetreten: 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.

AnhangGröße
lsb-release.txt 125 Bytes
Legimet
Offline
Beigetreten: 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
Offline
Beigetreten: 05/13/2010

Thanks alot!

Kromaz
Offline
Beigetreten: 06/07/2014

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