[Ubuntu-zh] apt增加ppa源时出现问题

孙锡麟 s.sn.giraffe在gmail.com
星期一 一月 3 04:46:57 UTC 2011


一个朋友问的:
sudo add-apt-repository ppa:pidgin-developers
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 55, in <module>
    sp = SoftwareProperties()
  File
"/usr/lib/python2.6/dist-packages/softwareproperties/SoftwareProperties.py",
line 90, in __init__
    self.reload_sourceslist()
  File
"/usr/lib/python2.6/dist-packages/softwareproperties/SoftwareProperties.py",
line 538, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)
  File "/usr/lib/python2.6/dist-packages/aptsources/distro.py", line 90, in
get_sources
    raise NoDistroTemplateException("Error: could not find a "
aptsources.distro.NoDistroTemplateException: Error: could not find a
distribution template

常用的修复apt方法都用了,源也保证是可以连接的,但是每次增加ppa的时候都出现这样的问题。
-------------- 下一部分 --------------
一个HTML附件被移除...
URL: <https://lists.ubuntu.com/archives/ubuntu-zh/attachments/20110103/bfcd1c25/attachment.html>


关于邮件列表 ubuntu-zh 的更多信息