安装了linux mint 12扩展 mate & mgse以后,ubuntu的软件中心和软件源都打不开了。
现在软件中心已经修复,但是软件源依然打不开,PPA源也无法添加。
添加源,终端下面一直报错
代码: 全选
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 98, 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 580, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python2.7/dist-packages/aptsources/distro.py", line 91, in get_sources
raise NoDistroTemplateException("Error: could not find a "
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template
重装了一遍Python
不知道还有什么办法能解决这个问题?谢谢!