Ubuntu – How to remove MySql apt repo

aptMySQLuninstall

I was trying to install MySql on my system running Ubuntu 14.04. So I added a MySql apt from the link Steps to fresh install MySql.
After running into a lot of trouble and realizing apt uses libs not supported by Ubuntu 14.04, I was advised to remove the apt and use Ubuntu repo to install mysql.

However, it seems I can't find how to remove the above mentioned apt repo. I've been through some of the stuff I can find on the community but still no solution that worked for me! Software center shows this.

Tried using dpkg, aptitude -remove also from software center but looks like I've hit a wall.
So any help is appreciated.

Best Answer

So I added a MySql apt from the link Steps to fresh install MySql

When those are really the steps that you followed, then this is your solution.

Open a terminal and run this command if you want to remove all configurations:

sudo apt-get purge mysql-apt-config

Otherwise, this command is sufficient:

sudo apt-get remove mysql-apt-config