UOS个人版更新git出现错误
Tofloor
poster avatar
zhoulang_rr
deepin
2020-09-18 18:20
Author
按照官网更新git的命令:sudo add-apt-repository ppa:git-core/ppa
出现:sudo: add-apt-repository:找不到命令, 然后安装:sudo apt-get install software-properties-common
安装之后再执行sudo: add-apt-repository,之后出现:

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 Uos/n/a


怎么办?
Reply Favorite View the author
All Replies
Feng Yu
deepin
2020-09-18 18:42
#1
不能用ppa
Reply View the author
zhoulang_rr
deepin
2020-09-18 19:10
#2

那我怎么更新呢
Reply View the author
jingle
deepin
2020-09-18 19:24
#3
Reply View the author
zhoulang_rr
deepin
2020-09-18 19:38
#4
https://bbs.deepin.org/post/202405
https://wiki.deepin.org/wiki/%E8%BD%AF%E4%BB%B6%E5%8C%85%E7%AE%A1%E7%90%86#.E6.B7.BB.E5.8A.A0PPA

...

你发的这个链接没有这个错误的解决方式。   容易玩坏的话那就算了,我还是用编译源码的方式安装吧
Reply View the author
deepinuser17
deepin
2020-09-18 21:43
#5
Reply View the author
zhoulang_rr
deepin
2020-09-18 23:59
#6
https://bbs.deepin.org/post/202405
https://bbs.deepin.org/post/183263#

谢谢  按照这个编译安装成功了
Reply View the author
神末shenmo
deepin
Spark-App
Q&A Team
2020-09-19 01:33
#7
Ubuntu 的 PPA 没有 UOS的包
Reply View the author