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

So...i'm trying to install MySQL Server in Ubuntu 10.04 (i don't want other version of ubuntu) and it don't works... I tried :

sudo apt-get install mysql-server

and also

sudo apt-get install mysql-server-5.1

and i get this :

enter image description here

I also tried :

sudo aptitude install mysql-server

and i get this :

enter image description here

Why do I get this??

share|improve this question
It seems it cannot connect to the repository. Did you try running "sudo apt-get update"? Also, check your /etc/apt/sources.list file. Paste its contents in the question too. – harisibrahimkv May 18 '12 at 13:46
Thanks!!!It's first time when i'm using – Shockwave May 18 '12 at 13:54
Are you able to connect to internet? Are you behind a proxy? Kindly edit your question with more details. – Mahesh May 18 '12 at 18:11
1.I'm connected to server with putty, so...i have internet connection...but i say works with sudo apt-get update...Thanks! – Shockwave May 19 '12 at 10:01

Try running

sudo apt-get update

That should fix the problem.

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.