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.

As the title says, I did

sudo apt-get purge mysql*

and as a result, all packages with mysql in their name were purged. I tried a

sudo apt-get install mysql*

But, it also selected packages that weren't installed, and have broken dependencies.

Is there another way, other than copy-pasting each of the unselected package?

Thanks.

share|improve this question
    
I assume you are trying to install the mysql server, please run "sudo apt-get install mysql-server" and update your question with the output from the command. –  João Pinto Dec 27 '10 at 12:14
    
paste.ubuntu.com/547918 –  theTuxRacer Dec 27 '10 at 13:09
1  
From your pastebin output it installed without any errors :) –  João Pinto Dec 27 '10 at 13:39
    
ok, thanks a lot! I hope that installed all the other libraries that were removed. that was a production server i messed with :P –  theTuxRacer Dec 28 '10 at 5:58

1 Answer 1

up vote 1 down vote accepted

The problem is the way you are trying to install mysql, when you do apt-get install mysql* it tries to install 50 or so different packages and programs, some of which can not be installed together and some which can not be installed without other dependencies. Often these are specialist programs.

To install, just simply run:

sudo apt-get install mysql-server

share|improve this answer

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.