1

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.

João Pinto
  • 17,159
theTuxRacer
  • 16,185

1 Answers1

1

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