Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 160, in <module>
    sp = 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_sourceslist
    self.distro.get_sources(self.sourceslist)   
  File "/usr/lib/python2.7/dist-packages/aptsources/distro.py", line 87, in get_sources
    raise NoDistroTemplateException("Error: could not find a "
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template
 

 

 

$ wget http://blog.anantshri.info/content/uploads/2010/09/add-apt-repository.sh.txt
$ cp add-apt-repository.sh.txt /usr/sbin/add-apt-repository
$ chmod o+x /usr/sbin/add-apt-repository
$ chown root:root /usr/sbin/add-apt-repository

 

그럼 이제 /usr/sbin/에 깔린 add-apt-repository를 이용해서 add-apt-repsitory를사용할 수 있다.

+ Recent posts