Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum

Software Sources Doesnt Open

Started by mastercomputerwizard, March 22, 2014, 04:27:34 AM

Previous topic - Next topic


Under LXDE 3.3 64Bit

Sparky Center > Software > Software Sources

Searched the forum and Google and found no mention of this possible bug.

I am seeing this symptom on the two systems I have Sparky installed on.

Look forward to your reply !


It looks like that it flew away from the system after one of the latest upgrading.



apt-get update
apt-get install software-properties-gtk

I will add it back to the next release, thank's.
Nothing is easy as it looks. Danielle Steel
Join at [url="//"][/url]


I have double checked it and the tool has to be there in the system.

Run the command in a text console and show me the output, please:



Nothing is easy as it looks. Danielle Steel
Join at [url="//"][/url]


Output from Terminal command:

max@max-hp-lap:~$ software-properties-gtk

ERROR:root:Cannot import UbuntuDrivers: No module named 'UbuntuDrivers'

Traceback (most recent call last):

File "/usr/bin/software-properties-gtk", line 101, in <module>

app = SoftwarePropertiesGtk(datadir=options.data_dir, options=options, file=file)

File "/usr/lib/python3/dist-packages/softwareproperties/gtk/", line 102, in __init__

SoftwareProperties.__init__(self, options=options, datadir=datadir)

File "/usr/lib/python3/dist-packages/softwareproperties/", line 105, in __init__


File "/usr/lib/python3/dist-packages/softwareproperties/", line 595, in reload_sourceslist


File "/usr/lib/python3/dist-packages/aptsources/", line 89, in get_sources

(, self.codename))

aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Sparky/testing


Remove file /etc/lsb-release (as root).

Update grub list:



Then it should start working.
Nothing is easy as it looks. Danielle Steel
Join at [url="//"][/url]


Ran recommended steps. Works perfectly now !!

Thanks !


Hello pavroo,

i have the same problem as mastercomputerwizard. Unfortunatlely I dont understand how to fix it, because I'm not used to the terminal.

Btw, the only thing I can do with terminal is to find a path to where I want to download something with wget. ...and start a download...

So. I started the terminal

and entered:


it gave me the same error message as for mastercomputerwizard.

so far so good.

Now you said I have to remove this lsb-file ...

I found it by clicking through file explorer, but I can't delete it. I guess that is the "root issue".

I tryed to find this file in the terminal by typing cd /etc/l

I pressed tab to see whats inside etc, can't see lsb-release.

Will I see it as Root?

And how can I become root?

That brings windows-user to sweat...



Become a root in the terminal:



Type the password you created on installation process.

Then remove the file:


rm -f /etc/lsb-release

Nothing is easy as it looks. Danielle Steel
Join at [url="//"][/url]


Ok. Thank you.

Just for my understanding...

-is "su" what I heard about sudo?

-rm is remove i guess

- what does -f do?


su lets you change user form you to an admin (su = super user)

sudo lets you work as you but with admin privileges (sudo = super user do)

From Sparky 3.3 and above you can use sudo as well.

rm - remove, you right

f for rm means force, you don't have to use it but I used to use it to make sure that the file will be removed 'for sure'

If you'd like to find out more about commands, just type it with one of the options, for example:


rm --help
rm -h
man rm

Man will open a manual page of a command you'd like to check.
Nothing is easy as it looks. Danielle Steel
Join at [url="//"][/url]


software sources are ok now.

You are really helpful. thank you very much. I almost lost my fear of the terminal :)

View the most recent posts on the forum