Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have mysql server 5.1 installed. I want to update it to 5.5 . I took a back up and uninstalled 5.1 using this command

sudo apt-get --purge remove mysql-server*

when I again used apt to install mysql server 5.5 it did not install it

apt-get install mysql-server 

It again installed the same version. Why is apt not installing the never version

share|improve this question
Sounds to me like 5.5 is not available in the apt repositories yet. – Nalum Aug 10 '12 at 10:00
any idea when will it be added – Abhay Kumar Aug 10 '12 at 10:01
Which Ubuntu distribution you have? 5.5 is available in 12.04. (I have it) – Dan Aug 10 '12 at 10:02
I have 11.04 natty – Abhay Kumar Aug 10 '12 at 10:24
mysql 5.5 is not available on Natty in the official repositories. But there's a PPA that makes it available. You can try it if using PPA packages is an option to you. – Salem Aug 10 '12 at 13:23
up vote 1 down vote accepted

Since you are getting mysql 5.1, I believe you have Ubuntu 10.04.

From my understanding of how package releases work in Ubuntu, you will not have any newer version unless you find another repository which offers it, or install it manually yourself.

Once an Ubuntu version is released, new applications, and even newer versions of applications are not released for it. Updating to a another Ubuntu Version is the only way of having a newer version of packages from the official repositories.

Only security and bug fixes are released.

share|improve this answer

Your Answer


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.