Author Topic: Software Sources Doesnt Open  (Read 1692 times)

Offline mastercomputerwizard

  • Newbie
  • *
  • Posts: 3
Software Sources Doesnt Open
« on: March 22, 2014, 04:27:34 am »
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 !
« Last Edit: March 22, 2014, 04:27:34 am by 416 »

Online pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1462
    • SparkyLinux
Re: Software Sources Doesnt Open
« Reply #1 on: March 22, 2014, 12:32:23 pm »
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.
« Last Edit: July 01, 2014, 01:18:04 am by 14 »
Nothing is easy as it looks.

Online pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1462
    • SparkyLinux
Re: Software Sources Doesnt Open
« Reply #2 on: March 22, 2014, 12:39:44 pm »
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


« Last Edit: July 01, 2014, 01:17:48 am by 14 »
Nothing is easy as it looks.

Offline mastercomputerwizard

  • Newbie
  • *
  • Posts: 3
Re: Software Sources Doesnt Open
« Reply #3 on: March 22, 2014, 05:16:43 pm »
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

« Last Edit: July 01, 2014, 01:17:12 am by 416 »

Online pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1462
    • SparkyLinux
Re: Software Sources Doesnt Open
« Reply #4 on: March 22, 2014, 08:14:59 pm »
Remove file /etc/lsb-release (as root).

Update grub list:

Code:

update-grub


Then it should start working.
« Last Edit: July 01, 2014, 01:16:59 am by 14 »
Nothing is easy as it looks.

Offline mastercomputerwizard

  • Newbie
  • *
  • Posts: 3
Re: Software Sources Doesnt Open
« Reply #5 on: March 22, 2014, 10:04:17 pm »
Ran recommended steps. Works perfectly now !!



Thanks !
« Last Edit: July 01, 2014, 01:17:33 am by 416 »

Offline hedgepig

  • Newbie
  • *
  • Posts: 6
Re: Software Sources Doesnt Open
« Reply #6 on: May 28, 2014, 01:29:14 am »
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...
« Last Edit: July 01, 2014, 01:16:44 am by 588 »

Online pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1462
    • SparkyLinux
Re: Software Sources Doesnt Open
« Reply #7 on: May 28, 2014, 02:01:01 am »
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


« Last Edit: July 01, 2014, 01:16:27 am by 14 »
Nothing is easy as it looks.

Offline hedgepig

  • Newbie
  • *
  • Posts: 6
Re: Software Sources Doesnt Open
« Reply #8 on: May 28, 2014, 03:20:37 am »
Ok. Thank you.



Just for my understanding...



-is "su" what I heard about sudo?



-rm is remove i guess



- what does -f do?
« Last Edit: July 01, 2014, 01:16:12 am by 588 »

Online pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1462
    • SparkyLinux
Re: Software Sources Doesnt Open
« Reply #9 on: May 28, 2014, 01:22:06 pm »
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.
« Last Edit: July 01, 2014, 01:15:58 am by 14 »
Nothing is easy as it looks.

Offline hedgepig

  • Newbie
  • *
  • Posts: 6
Re: Software Sources Doesnt Open
« Reply #10 on: May 28, 2014, 08:54:43 pm »
software sources are ok now.

You are really helpful. thank you very much. I almost lost my fear of the terminal :)
« Last Edit: July 01, 2014, 01:15:37 am by 588 »