This is on Ubuntu 14.04 (SERVER, so no GUI)
Ok so earlier today I was asked to upgrade GCC to GCC 4.9 (current available is GCC 4.8 for Trusty).
Used ppa-purge tool:
sudo ppa-purge ppa:ubuntu-toolchain-r/test
I removed the repository with --remove
sudo apt-add-repository --remove ppa:ubuntu-toolchain-r/test
And manually removed the PPA file from /etc/apt/sources.list.d as well as the keyring.
But now, whenever I run
sudo apt-get upgrade
It's still asking me to upgrade GCC to 4.9 (and several other toolchain related packages.)