打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
Ubuntu删除添加的PPA库

之前尝试给自己的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库

@TOC

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$

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
Ubuntu20.04安装Kubernetes v1.22.1版本
Ubuntu 16.04配置国内高速apt
云Ubuntu 20.04 系统下 erpnext v13 安装部署(图文并茂按步骤基本成功)
Linux Ubuntu更换阿里源
[Linux]Ubuntu 20.04换阿里源
深入体验bash on windows!在windows上搭建原生的linux
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服