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