我已经安装了很多软件,从不同的来源,我想开始使用Flatpaks,而不是PPA的。但我如何完全删除我目前的软件,与PPA和诸如此类的?这是我的sudo apt update的输出(我使用的是基于ubuntu16.04的基本操作系统
Hit:1 http://ppa.launchpad.net/alexlarsson/flatpak/ubuntu xenial InRelease
Hit:2 http://archive.canonical.com/ubuntu xenial InRelease
Hit:3 http://ppa.launchpad.net/atareao/atareao/ubuntu xenial InRelease
Hit:4 http://de.archive.ubuntu.com/ubuntu xenial InRelease
Ign:5 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:6 http://download.virtualbox.org/virtualbox/debian xenial InRelease
Hit:7 http://ppa.launchpad.net/bablu-boy/nutty-daily/ubuntu xenial InRelease
Hit:8 http://de.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:9 http://de.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:10 http://ppa.launchpad.net/djcj/vapoursynth/ubuntu xenial InRelease
Hit:11 http://dl.google.com/linux/chrome/deb stable Release
Hit:12 http://ppa.launchpad.net/elementary-os/stable/ubuntu xenial InRelease
Hit:13 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu xenial InRelease
Get:14 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:15 http://ppa.launchpad.net/kubuntu-ppa/backports/ubuntu xenial InRelease
Hit:16 http://ppa.launchpad.net/ondrej/php/ubuntu xenial InRelease
Hit:17 http://ppa.launchpad.net/elementary-os/os-patches/ubuntu xenial InRelease
Hit:18 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Hit:19 https://deb.nodesource.com/node_7.x xenial InRelease
Hit:21 http://download.mono-project.com/repo/debian wheezy InRelease
Hit:22 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease比方说,我想完全删除Blender、MonoDevelop和LibreOffice,这样以后我就可以通过Flatpaks安装它了。我该怎么移除它?
发布于 2017-02-22 06:28:03
sudo apt-get autoremove --purge "packagename"然后遍历/etc/apt/sources.list.d目录并删除引用该repo的任何文件。
还可以使用/etc/apt/sources.list或sudo nano浏览sudo vi和sources.list~,并删除或注释出存储库。
最后,删除该存储库的GPG密钥。
sudo apt-key list
sudo apt-key del #A#A#Ahttps://unix.stackexchange.com/questions/346610
复制相似问题