深度ppa无法添加
Tofloor
poster avatar
redapple0204
deepin
2016-08-28 03:51
Author
redapple@kali ~> sudo apt-add-repository ppa:noobslab/deepin-sc
[sudo] password for redapple:
You are about to add the following PPA to your system:
This PPA Contain Deepin Software Center and other Deepin Apps for Ubuntu/Linux Mint

http://www.NoobsLab.com
More info: https://launchpad.net/~noobslab/+archive/ubuntu/deepin-sc
Press [ENTER] to continue or ctrl-c to cancel adding it

Traceback (most recent call last):
  File "/usr/bin/apt-add-repository", line 160, in
    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


Reply Favorite View the author
All Replies
avatar
tracy1989wan
deepin
2016-08-28 07:38
#1
本帖最后由 tracy1989wan 于 2016-8-27 23:41 编辑

可以伪装成为Ubuntu来添加,以下是添加PPA来安装QT5的过程,希望能帮到你。
Deepin安装QT5:https://www.zhihu.com/question/30361833

Reply View the author
avatar
redapple0204
deepin
2016-08-28 14:57
#2
https://bbs.deepin.org/post/42802
可以伪装成为Ubuntu来添加,以下是添加PPA来安装QT5的过程,希望能帮到你。
Deepin安装QT5:https://www.zh ...

太感谢你了,真的有用
Reply View the author
avatar
132******13
deepin
2016-09-23 06:37
#3
deepin15.3已经支持ppa了,但是默认关闭的(去除了几个依赖,怕大家乱装各种奇奇怪怪的软件把系统崩了),如果你已经做好准备,可以把这几个依赖装回来,就可以和Ubuntu一样用ppa安装软件了:
  1. sudo apt-get install python-software-properties
  2. sudo apt-get install software-properties-common
  3. sudo apt-get update
Copy the Code

然后add-apt-repository命令就可以使用了。因为ppa源是第三方维护的,可能会出问题,要做好心理准备,尽量选择名气比较响的源,因为安装ppa内的软件出问题也不要乱甩锅给不应该背锅的同志们。祝你好运
Reply View the author