how to remove repository linux code example
Example: how to remove an apt repository
sudo add-apt-repository --remove ppa:whatever/ppa
# or
sudo apt-add-repository --remove 'deb some/repo your_distro main'
sudo add-apt-repository --remove ppa:whatever/ppa
# or
sudo apt-add-repository --remove 'deb some/repo your_distro main'