Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including
Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
7 years, 11 months ago
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
aptitude -remove also from software center but looks like I've hit a wall.
So any help is appreciated.
10.2k 10 10 gold badges 41 41 silver badges 61 61 bronze badges
Apr 20, 2015 at 11:32
135 1 1 gold badge 2 2 silver badges 8 8 bronze badges
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
Apr 20, 2015 at 11:42
88.1k 21 21 gold badges 242 242 silver badges 318 318 bronze badges
I found that
/etc/apt/sources.list.d/mysql.list had all the references to mysql repositories:
pi@raspberrypi:~ $ find /etc/apt/ -type f | xargs grep "repo.mysql.com"
/etc/apt/sources.list.d/mysql.list:deb http://repo.mysql.com/apt/debian/ stretch mysql-apt-config
/etc/apt/sources.list.d/mysql.list:deb http://repo.mysql.com/apt/debian/ stretch mysql-5.7
/etc/apt/sources.list.d/mysql.list:deb http://repo.mysql.com/apt/debian/ stretch mysql-tools
/etc/apt/sources.list.d/mysql.list:#deb http://repo.mysql.com/apt/debian/ stretch mysql-tools-preview
/etc/apt/sources.list.d/mysql.list:deb-src http://repo.mysql.com/apt/debian/ stretch mysql-5.7
So I decided to remove the mysql.list i the
/etc/apt/sources.list.d directory and finaly
sudo apt-get update does not come with mysql repositories
Thanks every one here
96.8k 15 15 gold badges 192 192 silver badges 289 289 bronze badges
Aug 28, 2018 at 19:17
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our
Accept all cookies
Necessary cookies only
sudo apt-get purge mysql*and remove /etc/apt/sources.list and do
sudo apt-get updateagain.