![aptsources.distro.NoDistroTemplateException:错误:找不到 Elementary/next 的分发模板](https://linux22.com/image/923993/aptsources.distro.NoDistroTemplateException%EF%BC%9A%E9%94%99%E8%AF%AF%EF%BC%9A%E6%89%BE%E4%B8%8D%E5%88%B0%20Elementary%2Fnext%20%E7%9A%84%E5%88%86%E5%8F%91%E6%A8%A1%E6%9D%BF.png)
每次我想要添加存储库时都会发生以下情况 - 由于我已经安装(然后卸载)了万神殿桌面,所以它不起作用:(
$ sudo add-apt-repository ppa:appgrid/stable
Traceback (most recent call last):
File "/usr/bin/add-apt-repository", line 107, in <module>
sp = SoftwareProperties(options=options)
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 118, in __init__
self.reload_sourceslist()
File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 613, in reload_sourceslist
self.distro.get_sources(self.sourceslist)
File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 91, in get_sources
raise NoDistroTemplateException(
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Elementary/next