Removing a ppa added with apt-get-repository

Removing a repo:

You can remove them by deleting .list files from 

/etc/apt/sources.list.d[/code] directory or remove it with the --remove flag to the same command you used to add it:

sudo add-apt-repository --remove ppa:whatever/ppa[/code]

If a .deb file was installed:

sudo ppa-purge ppa:repository-name/subdirectory[/code]

You are reading this post on Joel G Mathew’s tech blog. Joel's personal blog is the Eyrie, hosted here.