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...
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__
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_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
  • Please use headlines that are describing your problem – Djax Nov 11 '15 at 12:27
  • please edit and add output of lsb_release -a – Ravan Nov 11 '15 at 13:08
  • Also please edit post and add output of cat /etc/lsb-release and cat /etc/os-release – Ravan Nov 11 '15 at 13:13

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"

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

| improve this answer | |
  • 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 Nov 15 '15 at 17:11
  • 1
    @ferry ok, let us solve other( new) post :) see my answer – Ravan Nov 15 '15 at 17:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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