[Topic DIscussion] 如何删除第三方带密钥的软件源
Tofloor
poster avatar
austin_chow888
deepin
2023-07-12 16:21
Author

我使用第三方带密钥的软件源安装好软件了,现在软件可以使用了,想安装完后删除第三方软件源,还原回原来的官方源,请教一下,如何做。

Reply Favorite View the author
All Replies
阿尼樱奈奈
Moderator
2023-07-12 16:27
#1

终端执行:sudo vim /etc/apt/sources.list

输入密码后按回车后,按Insert键进入编辑模式删除第三方源,然后Esc键输入 :wq! 保存退出。

如果sources.list里面没有,去同目录的sources.list.d文件夹找找。

Reply View the author
明天会更好
deepin
2023-07-12 16:36
#2

stacer 这个软件可以清除不用的源

Reply View the author
austin_chow888
deepin
2023-07-12 20:06
#3

image.png

image.png

image.png

我应该怎么删除,要删除哪些呢

Reply View the author
austin_chow888
deepin
2023-07-12 20:15
#4
阿尼樱奈奈

终端执行:sudo vim /etc/apt/sources.list

输入密码后按回车后,按Insert键进入编辑模式删除第三方源,然后Esc键输入 :wq! 保存退出。

如果sources.list里面没有,去同目录的sources.list.d文件夹找找。

有多个文件,要删除哪一个

Reply View the author
阿尼樱奈奈
Moderator
2023-07-12 20:17
#5
austin_chow888

有多个文件,要删除哪一个

是这个 pulseaudio-a2dp.list 的源吗?

如果是,执行:sudo rm pulseaudio-a2dp.list

Reply View the author
austin_chow888
deepin
2023-07-12 20:28
#6
阿尼樱奈奈

是这个 pulseaudio-a2dp.list 的源吗?

如果是,执行:sudo rm pulseaudio-a2dp.list

2 7 8 是不是也是第三方的源

image.png

Reply View the author
阿尼樱奈奈
Moderator
2023-07-12 20:31
#7
austin_chow888

2 7 8 是不是也是第三方的源

image.png

不是的,都是官方的源

Reply View the author
austin_chow888
deepin
2023-07-12 20:32
#8
阿尼樱奈奈

是这个 pulseaudio-a2dp.list 的源吗?

如果是,执行:sudo rm pulseaudio-a2dp.list

是按照这个教程安装了软件 现在软件装完了,需要删除这个教程安装的源

https://bbs.deepin.org/post/257487

Reply View the author
阿尼樱奈奈
Moderator
2023-07-12 20:36
#9
austin_chow888

是按照这个教程安装了软件 现在软件装完了,需要删除这个教程安装的源

https://bbs.deepin.org/post/257487

他这个是:echo 'deb http://ppa.launchpad.net/eh5/pulseaudio-a2dp/ubuntu bionic main' | sudo tee /etc/apt/sources.list.d/pulseaudio-a2dp.list

意思是把 pulseaudio-a2dp.list 这个源文件加入到了 /etc/apt/sources.list.d 文件夹中

Reply View the author
austin_chow888
deepin
2023-07-12 20:43
#10
阿尼樱奈奈

他这个是:echo 'deb http://ppa.launchpad.net/eh5/pulseaudio-a2dp/ubuntu bionic main' | sudo tee /etc/apt/sources.list.d/pulseaudio-a2dp.list

意思是把 pulseaudio-a2dp.list 这个源文件加入到了 /etc/apt/sources.list.d 文件夹中

嗯,这个知道 ,那这个加信任的要怎么处理,源都删除了,添加信任是不是也要移除啊

# 信任刚添加的软件源(获取证书) sudo apt-key adv --keyserver keyserver.ubuntu.com --recv A45582EC25E9D8E6

Reply View the author
ThinKinG
deepin testing team
2023-07-24 23:10
#11

截图里面没看到第三方源

Reply View the author