I have installed the following repository:

sudo add-apt-repository ppa:gnome3-team/gnome3

How do I uninstall it now? Thanks.

有帮助吗?

解决方案

Use the --remove flag.

sudo apt-add-repository --remove ppa:repo_name/subdirectory

其他提示

The --remove flag produces an error:

Usage: add-apt-repository [options] repository

add-apt-repository: error: no such option: --remove

Instead use the rm command to remove the file corresponding to the added repository from your sources.list.d folder; if you are using saucy, the command would look like this:

sudo rm /etc/apt/sources.list.d/gnome3-team-gnome3-saucy.list

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top