Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have installed mysql-server-5.1 from terminal.

Something went wrong and I had to uninstall it, done.

When I type: sudo apt-get remove mysql double tab, it still give me a list with some mysql options, trying to remove them I get this message:

Here is the list:

mysql-common mysql-server-5.1 mysql-workbench-gpl

And this is the message

Reading package lists... Done Building dependency tree Reading state information... Done Package mysql-server-5.1 is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

Is it really removed? If so, is there a way to remove it from the list?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

You can use Synaptic Package Manager (GUI) or Command Line

If you do not have Synaptic Package Manager installed, you can install it either, by using Ubuntu Software Center or by typing:

sudo apt-get install synaptic

Install via the software center

To more information on how to use Synaptic Package Manager See this page

Command line

To completely remove programs using the command line, you have the following options;

Completely remove package using dpkg

sudo dpkg -P package name

Remove package and config files, but not dependences using apt-get

sudo apt-get --purge remove package name

Remove unused dependencies and config files using apt-get

sudo apt-get --purge autoremove

Remove package and unused dependencies of package, and config files using aptitude

sudo aptitude purge package name
share|improve this answer
    
100% solved, thanks =) –  Gerep May 29 '12 at 12:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.