Tweet about this on TwitterShare on FacebookShare on Google+Share on StumbleUponShare on TumblrShare on RedditPin on PinterestEmail this to someone

As mentioned few times in my previous posts, I was configuring my new VPS during last few weeks and I wanted to use Ubuntu minimal version installed in it mainly because of the disk space limitation and to improve performance by reducing all unnecessary services tools that you normally get with standard Ubuntu installation. Downside to this selection is you may get weird error messages and if you’re not expert on Linux systems as I am you will find difficulty in solving them. Package mysql-server-5.5 is not configured yet is another similar error I’ve found when I try to install MySql server on the system. I went through many sites finding the solution but none of them could give me clear explanation on how to solve it. I guess reason being that most users use standard version so it is very rare that this error could be on such installation, mainly because this is more related to Ubuntu packages  rather than MySql package itself.

As usual you install MySql as follows.

by the end of the installation you will see following error message.

First step is to remove everything you installed related to MySql by executing following command.

Last two commands will make sure that any dead, unused libraries and packages are removed. which is always good to keep your installations clean. Then the important bit, this error comes because your Ubuntu distribution is not upgraded recently, or at least conflicts are not resolved properly So next thing is to upgrade it. This is the dist-upgrade man page description.

dist-upgrade In addition to performing the function of upgrade, this option also intelligently handles changing dependencies with new versions of packages; apt-get has a “smart” conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones, if necessary.

Now after this is done, you can install MySql once again as before and this time it should properly installed.

Note: if you still find the same issue try deleting everything as before and install using following command

 

Tweet about this on TwitterShare on FacebookShare on Google+Share on StumbleUponShare on TumblrShare on RedditPin on PinterestEmail this to someone