[Seek Help] 装了gnome之后,为啥不能升级呢??
Tofloor
poster avatar
linhong
deepin
2021-12-31 05:17
Author

装完gnome之后,版本停留在3.30,想着升级到40,但是执行添加PPA的指令就提示错误,这可咋整?

sudo add-apt-repository ppa:shemgp/gnome-40

就是这一套,提示

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-12-31 05:34
#1

因为这个 ppa 没有 deepin 的版本,这个 ppa 是为 Ubuntu 21.04 做的。

如果非要想的话,可以试试这样 (不推荐)

手动将

deb http://ppa.launchpad.net/shemgp/gnome-40/ubuntu hirsute main
deb-src http://ppa.launchpad.net/shemgp/gnome-40/ubuntu hirsute main

放到 /etc/apt/sourcelist.d/gnome.list

执行

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 63E7F399F8A476514BA06E1D5A120BFCE2F028D4
Reply View the author
linhong
deepin
2021-12-31 05:37
#2
ucSec

因为这个 ppa 没有 deepin 的版本,这个 ppa 是为 Ubuntu 21.04 做的。

如果非要想的话,可以试试这样 (不推荐)

手动将

deb http://ppa.launchpad.net/shemgp/gnome-40/ubuntu hirsute main
deb-src http://ppa.launchpad.net/shemgp/gnome-40/ubuntu hirsute main

放到 /etc/apt/sourcelist.d/gnome.list

执行

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 63E7F399F8A476514BA06E1D5A120BFCE2F028D4

😂 我如果试了会怎么样??

Reply View the author
deepin-superuser
deepin
2021-12-31 05:42
#3
linhong

😂 我如果试了会怎么样??

最坏的结果也就是重装,没啥大不了的

Reply View the author
2023开始学习
deepin
2021-12-31 05:43
#4
It has been deleted!