5

I got message like this :

enter image description here

root@ferryready-Satellite-L510:/home/ferryready# curl -sL http://i-hate-farms.github.io/spores/install | sudo bash -
Installing the repository...
OK
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 91, in <module>
sp = SoftwareProperties(options=options)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, 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 Ubuntu/n/a
3
  • Please use headlines that are describing your problem
    – Djax
    Commented Nov 11, 2015 at 12:27
  • please edit and add output of lsb_release -a
    – Ravan
    Commented Nov 11, 2015 at 13:08
  • Also please edit post and add output of cat /etc/lsb-release and cat /etc/os-release
    – Ravan
    Commented Nov 11, 2015 at 13:13

1 Answer 1

4

The possible fix:

sudo apt-get install gksu # If not installed

sudo apt-get install libcanberra-gtk-module:i386 # If you get Failed to load module "canberra-gtk-module" error

Now gksudo nano /etc/lsb-release

The file should be like,

DISTRIB_ID="elementary OS"
DISTRIB_RELEASE=0.3.1
DISTRIB_CODENAME=freya
DISTRIB_DESCRIPTION="elementary OS Freya"

Note: Use this for fresh installation of freya, I am not sure for upgrading from luna.

2
  • yesterday i tried to uninstalled the Xdman it's working but the icon still on my desktop. please tell me how to removed it completely
    – ferry
    Commented Nov 15, 2015 at 17:11
  • 1
    @ferry ok, let us solve other( new) post :) see my answer
    – Ravan
    Commented Nov 15, 2015 at 17:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.