ZhangZhihui's Blog  

1. Remove a PPA from Software Sources via GUI

2. Remove a PPA using APT in terminal:

复制代码
zzh@ZZHPC:~$ sudo add-apt-repository --remove "deb [arch=amd64] https://deb.tableplus.com/debian/24 tableplus main"
Repository: 'deb [arch=amd64] https://deb.tableplus.com/debian/24 tableplus main'
Description:
Archive for codename: tableplus components: main
More info: https://deb.tableplus.com/debian/24
Removing repository.
Press [ENTER] to continue or Ctrl-c to cancel.
Disabling deb entry in /etc/apt/sources.list.d/archive_uri-https_deb_tableplus_com_debian_24-jammy.list
Removing disabled deb entry from /etc/apt/sources.list.d/archive_uri-https_deb_tableplus_com_debian_24-jammy.list
Removing disabled deb-src entry from /etc/apt/sources.list.d/archive_uri-https_deb_tableplus_com_debian_24-jammy.list
Hit:1 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy InRelease                                                                                                    
Hit:3 http://mirrors.tuna.tsinghua.edu.cn/ubuntu jammy-updates InRelease                                                                                            
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease                                                                                                       
Hit:5 http://security.ubuntu.com/ubuntu jammy-security InRelease                                                                                                    
Hit:2 https://packages.microsoft.com/repos/code stable InRelease                                                                                                    
Hit:7 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security InRelease                                                                             
Hit:8 https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates InRelease                                       
Hit:9 https://esm.ubuntu.com/infra/ubuntu jammy-infra-security InRelease                                   
Hit:10 https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates InRelease                                   
Get:11 https://cli.github.com/packages stable InRelease [3,917 B]                                                                        
Hit:6 https://packagecloud.io/golang-migrate/migrate/ubuntu jammy InRelease
Fetched 3,917 B in 5s (781 B/s)
Reading package lists... Done
W: https://packagecloud.io/golang-migrate/migrate/ubuntu/dists/jammy/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details.
复制代码

 

zzh@ZZHPC:/etc/apt/trusted.gpg.d$ sudo rm -rf tableplus-archive.gpg

  

3. Remove a PPA from the source list in terminal:

复制代码
zzh@ZZHPC:/etc/apt/sources.list.d$ lh
total 52K
drwxr-xr-x 8 root root 4.0K Dec 26  2023 ..
-rw-r--r-- 1 root root  203 Aug 30 13:43 vscode.list.save
-rw-r--r-- 1 root root   70 Aug 30 13:43 migrate.list.save
-rw-r--r-- 1 root root  121 Aug 30 13:43 github-cli.list.save
-rw-r--r-- 1 root root  190 Aug 30 13:43 google-chrome.list.save
-rw-r--r-- 1 root root  142 Aug 30 13:43 archive_uri-https_deb_tableplus_com_debian_24-jammy.list.save
-rw-r--r-- 1 root root  203 Aug 30 15:27 vscode.list
-rw-r--r-- 1 root root  274 Aug 30 15:27 ubuntu-esm-infra.list
-rw-r--r-- 1 root root  266 Aug 30 15:27 ubuntu-esm-apps.list
-rw-r--r-- 1 root root   70 Aug 30 15:27 migrate.list
-rw-r--r-- 1 root root  190 Aug 30 15:27 google-chrome.list
-rw-r--r-- 1 root root  121 Aug 30 15:27 github-cli.list
drwxr-xr-x 2 root root 4.0K Aug 30 15:27 .
zzh@ZZHPC:/etc/apt/sources.list.d$ sudo rm -rf archive_uri-https_deb_tableplus_com_debian_24-jammy.list.save
复制代码

 

posted on   ZhangZhihuiAAA  阅读(174)  评论(0编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
· 基于Microsoft.Extensions.AI核心库实现RAG应用
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
阅读排行:
· 震惊!C++程序真的从main开始吗?99%的程序员都答错了
· 【硬核科普】Trae如何「偷看」你的代码?零基础破解AI编程运行原理
· 单元测试从入门到精通
· 上周热点回顾(3.3-3.9)
· winform 绘制太阳,地球,月球 运作规律
 
点击右上角即可分享
微信分享提示