Ubuntu删除添加的PPA库

9 篇文章 1 订阅
2 篇文章 0 订阅

之前尝试给自己的Ubuntu
20添加Deepin的桌面,但出现如下面的情况

add-apt-repository ppa:leaeasy/dde [sudo] gfdgd_xi 的密码:   You can
install deepin desktop environment by run

sudo add-apt-repository ppa:leaeasy/dde sudo apt-get update apt-get
install dde
------ Ubuntu Bionic: https://drive.google.com/file/d/1xkQPb4tWocknuYeY-t41W--kz-9SSL0V/view?usp=sharing
------ Important Issue: Q: Can dde on Ubuntu 16.04? A: Sorry, the dde depends on qt version above than 5.6.
     If you want to install dde, please upgrade to 17.04 or above.  更多信息: https://launchpad.net/~leaeasy/+archive/ubuntu/dde 按 [ENTER] 继续或
Ctrl-c 取消安装。

命中:1 http://mirrors.aliyun.com/ubuntu focal InRelease 命中:2
http://mirrors.aliyun.com/ubuntu focal-security InRelease 命中:3
http://mirrors.aliyun.com/ubuntu focal-updates InRelease 命中:4
http://mirrors.aliyun.com/ubuntu focal-proposed InRelease 命中:5
http://mirrors.aliyun.com/ubuntu focal-backports InRelease 忽略:6
http://ppa.launchpad.net/leaeasy/dde/ubuntu focal InRelease 错误:7
http://ppa.launchpad.net/leaeasy/dde/ubuntu focal Release   404  Not
Found [IP: 91.189.95.83 80] 正在读取软件包列表... 完成 
E: 仓库 “http://ppa.launchpad.net/leaeasy/dde/ubuntu focal Release” 没有 Release 文件。
N: 无法安全地用该源进行更新,所以默认禁用该源。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
gfdgd_xi@gfdgd-xi-Vostro-220s-Series:~/桌面$ 

在这里插入图片描述
安装失败,以后更新原的时候都会提示以下信息

gfdgd_xi@gfdgd-xi-Vostro-220s-Series:~/桌面$ sudo apt update
[sudo] gfdgd_xi 的密码:  命中:1 http://mirrors.aliyun.com/ubuntu focal
InRelease 命中:2 http://mirrors.aliyun.com/ubuntu focal-security
InRelease 命中:3 http://mirrors.aliyun.com/ubuntu focal-updates
InRelease 命中:4 http://mirrors.aliyun.com/ubuntu focal-proposed
InRelease 命中:5 http://mirrors.aliyun.com/ubuntu focal-backports
InRelease 忽略:6 http://ppa.launchpad.net/leaeasy/dde/ubuntu focal
InRelease 错误:7 http://ppa.launchpad.net/leaeasy/dde/ubuntu focal
Release   404  Not Found [IP: 91.189.95.83 80] 正在读取软件包列表... 完成 E: 仓库
“http://ppa.launchpad.net/leaeasy/dde/ubuntu focal Release” 没有 Release
文件。 N: 无法安全地用该源进行更新,所以默认禁用该源。 N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
gfdgd_xi@gfdgd-xi-Vostro-220s-Series:~/桌面$ 

在这里插入图片描述
而且以后更新系统也很慢,于是就需要删除这个PPA库

步骤

1、打开终端
在这里插入图片描述

2、定位到/etc/apt/sources.list.d,也就是输入命令

cd /etc/apt/sources.list.d/

在这里插入图片描述

3、输入命令

ls

查看目录下所有文件,这里显示的结果如下

gfdgd_xi@gfdgd-xi-Vostro-220s-Series:/etc/apt/sources.list.d$ ls
leaeasy-ubuntu-dde-focal.list       vscode.list.save
leaeasy-ubuntu-dde-focal.list.save

在这里插入图片描述
4、你会发现这里就是存放PPA库所在的地方,根据需求删除即可,这里以全部删除为例
命令:

sudo rm -rf *

在这里插入图片描述删除后可以输入命令

sudo apt-get update

查看结果

gfdgd_xi@gfdgd-xi-Vostro-220s-Series:/etc/apt/sources.list.d$ sudo apt-get update
命中:1 http://mirrors.aliyun.com/ubuntu focal InRelease
命中:2 http://mirrors.aliyun.com/ubuntu focal-security InRelease
命中:3 http://mirrors.aliyun.com/ubuntu focal-updates InRelease
命中:4 http://mirrors.aliyun.com/ubuntu focal-proposed InRelease
命中:5 http://mirrors.aliyun.com/ubuntu focal-backports InRelease
正在读取软件包列表... 完成                            
gfdgd_xi@gfdgd-xi-Vostro-220s-Series:/etc/apt/sources.list.d$ 

在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

gfdgd xi

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值