Uninstalling Google packages from Ubuntu
So, you installed an app from Google (Chrome or Google Music Manager) but are done with it and now you want to remove any traces of the Google software…
You’d think that
sudo dpkg -p would do it but Google’s a little more sneaky than that… They took the liberty of adding their repository to your machine. To remove it you need to perform the following steps.
sudo rm /etc/apt/sources.list.d/google-musicmanager.list
sudo apt-key del email@example.com
As a side note, it doesn’t seem right that they add the repository settings with a cron job instead of at the install of the package. It seems fishy to me because if you remove their repository settings without disabling their cronjob, their settings will come back the next day. Check out /etc/cron.daily for any google files before you uninstall their package to see what they are up to.