Advertising

Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

Software Sources Doesnt Open

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

Previous topic - Next topic

mastercomputerwizard

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 !

pavroo

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

Do:

Code:

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 #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

pavroo

#2
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:

Code:

software-properties-gtk


Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

mastercomputerwizard

#3
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/SoftwarePropertiesGtk.py", line 102, in __init__

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

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

self.reload_sourceslist()

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

self.distro.get_sources(self.sourceslist)

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

(self.id, self.codename))

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


pavroo

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

Update grub list:

Code:

update-grub


Then it should start working.
Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

mastercomputerwizard

#5
Ran recommended steps. Works perfectly now !!



Thanks !

hedgepig

#6
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:

software-properties-gtk



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...

pavroo

#7
Hi

Become a root in the terminal:

Code:

su


Type the password you created on installation process.

Then remove the file:

Code:

rm -f /etc/lsb-release


Nothing is easy as it looks. Danielle Steel
Join #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

hedgepig

#8
Ok. Thank you.



Just for my understanding...



-is "su" what I heard about sudo?



-rm is remove i guess



- what does -f do?

pavroo

#9
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:

Code:

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 #sparkylinux.org at [url="//irc.libera.chat"]irc.libera.chat[/url]

hedgepig

#10
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