[Seek Help] 安装ppa应用导入repository出错
Tofloor
poster avatar
uvz
deepin
2021-09-08 02:07
Author

 

这个要怎么处理, 不支持吗?

sudo add-apt-repository ppa:nilarimogard/webupd8

[sudo] password for ussed: 

Verification successful

Traceback (most recent call last):

  File "/usr/bin/add-apt-repository", line 95, in

    sp = SoftwareProperties(options=options)

  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 109, in __init__

    self.reload_sourceslist()

  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 599, in reload_sourceslist

    self.distro.get_sources(self.sourceslist)    

  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 93, in get_sources

    (self.id, self.codename))

aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Deepin/n/a

 

Reply Favorite View the author
All Replies
ucSec
deepin
2021-09-08 05:41
#1

确实不支持,但如果非要加的话,试着把这两行加到 sourcelist 中

deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu focal main 
deb-src http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu focal main 

https://launchpad.net/~nilarimogard/+archive/ubuntu/webupd8

当然后面也可以是其他的 Ubuntu 版本代号

deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu YOUR_UBUNTU_VERSION_HERE main 
deb-src http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu YOUR_UBUNTU_VERSION_HERE main 
Reply View the author
安洛
deepin
2021-09-08 06:55
#2

ppa是ubuntu的东西,deepin不支持。不建议使用ppa,尽量找debian的安装方法。

Reply View the author
squallliu
deepin
2021-09-08 18:19
#3

不知道深度为嘛要转debian,也没稳定到哪去,debian的包太老了,还丢掉了ppa这么好的资源

Reply View the author
WENWEN
deepin
2021-09-08 21:34
#4

aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Deepin/n/a

提示这么明显了

Reply View the author
uvz
deepin
2021-09-10 22:49
#5
ucSec

确实不支持,但如果非要加的话,试着把这两行加到 sourcelist 中

deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu focal main 
deb-src http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu focal main 

https://launchpad.net/~nilarimogard/+archive/ubuntu/webupd8

当然后面也可以是其他的 Ubuntu 版本代号

deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu YOUR_UBUNTU_VERSION_HERE main 
deb-src http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu YOUR_UBUNTU_VERSION_HERE main 

感谢!

Reply View the author
uvz
deepin
2021-09-10 22:51
#6
squallliu

不知道深度为嘛要转debian,也没稳定到哪去,debian的包太老了,还丢掉了ppa这么好的资源

在3大主流发行版中, debian比较折中把, 不太激进

Reply View the author
uvz
deepin
2021-09-10 22:52
#7
安洛

ppa是ubuntu的东西,deepin不支持。不建议使用ppa,尽量找debian的安装方法。

ppa里面还是有很多好东西.

Reply View the author
安洛
deepin
2021-09-11 05:59
#8
squallliu

不知道深度为嘛要转debian,也没稳定到哪去,debian的包太老了,还丢掉了ppa这么好的资源

debian的包一点都不老,ubuntu的仓库也大量使用或重新打包了debian unstable/testing的软件。

问题是deepin选择的是debian的上一个stable版本,这就很老了。

Reply View the author
安洛
deepin
2021-09-11 06:00
#9
uvz

ppa里面还是有很多好东西.

的确有不少软件选择ppa分发。然而它是ubuntu的东西,和deepin适配就是不好。

Reply View the author