- Error Message
Traceback (most recent call last):File "/usr/bin/add-apt-repository", line 160, insp = SoftwareProperties(options=options)File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 96, in __init__self.reload_sourceslist()File "/usr/lib/python2.7/dist-packages/softwareproperties/SoftwareProperties.py", line 584, in reload_sourceslistself.distro.get_sources(self.sourceslist)File "/usr/lib/python2.7/dist-packages/aptsources/distro.py", line 87, in get_sourcesraise NoDistroTemplateException("Error: could not find a "aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template
- Fix Step:
- gedit / etc / lsb-release \
- Add this script to lsb-release file
DISTRIB_ID=UbuntuDISTRIB_RELEASE=12.04DISTRIB_CODENAME=preciseDISTRIB_DESCRIPTION="Ubuntu 12.04 LTS"
- Save & Exit
Refrence click here
Post a Comment
Click to see the code!
To insert emoticon you must added at least one space before the code.