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

I'm trying to install mysql-server 5.0. because I want to install a program which depend on this version. I've surfed the net to find a solution but none of them worked. I'm really disappointed. I tried "apt-get install mysql-server=5.0.96-0ubuntu3" but it said "Version '5.0.96-0ubuntu3' for 'mysql-server' was not found". I found this package at http://packages.ubuntu.com/hardy/mysql-server-5.0 but I don't know how to use it. Is it a way that I can install it manually? please help me!

share|improve this question

1 Answer 1

Following the link you provided just click on your operating system's architecture (amd64 or i386) at the very bottom of the page. You will be redirected to a page with a download link for the corresponding .deb file (quite in the middle of the page). After you downloaded the file you can install it via sudo dpkg -i <path-to-file>.

If that doesn't work, the solutions given here should still work. Basically it's about installing old MySQL versions via Synaptic packet manager (which you can easily install by typing sudo apt-get install synaptic in a terminal if it isn't already installed). As mentioned in the post I linked above you might need to add a certain PPA for the specific version. You can do that with the command sudo add-apt-repository ppa:<user>/<ppa-name> - nevertheless be carefull of which sources you are going to trust. To find the right PPAs you will have to use a search engine.

share|improve this answer
thanks a lot. your answer was really helpful. now It starts installing but it gives me this error : E: mysql-server-5.0: subprocess installed post-installation script returned error exit status 1 .could you please tell me what should I do now? –  Ghasedak Raha Mar 7 '13 at 19:12
You can find a solution to a similar problem here. I can't promise it will work, but it seems possible. –  David Mar 8 '13 at 7:29

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.