I've been having a problem with my php, apache, mysql. I can't find the problem so I'M gong to uninstall all of them and re-install them using tasksel. But when I type sudo apt-get remove mysql, it returns the following:

garrett@mint-desktop ~ $ sudo apt-get remove mysql
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package mysql

Any ideas?

Try mysql-server and mysql-client, these are metapackages that redirect to the latest version available in repositories. If it doesn't match try dpkg -l mysql-* it will list all the packages related to mysql. And to remove them all, you can run dpkg -r mysql-*

You can use --purge to remove also the config files: dpkg --purge mysql-*

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.