

I got to this by finding out what keys exist in debconf uses as follows (after having installed mysql and entering the password interactively): sudo debconf-show -listowners Sudo apt-get install -qq -y percona-server-server-5.6 percona-server-client-5.6 Sudo bash -c 'echo deb-src trusty main > /etc/apt/sources.list'Įcho "percona-server-server-5.6 percona-server-server/root_password password root" | sudo debconf-set-selectionsĮcho "percona-server-server-5.6 percona-server-server/root_password_again password root" | sudo debconf-set-selections Sudo bash -c 'echo deb trusty main > /etc/apt/sources.list' Here's the whole script to install Percona 5.6 and to set the root password to "root" without a prompt: sudo apt-key adv -keyserver -recv-keys 1C4CBDCDCD2EFD2A a Vagrant or Docker initialization script. This isn't convenient if you're running the installation process from a script e.g. However, the installation process prompts you for the database's root password. If you need MySQL 5.6 features (such as better join algorithms) you can install the Percona software, as described here. W: You may want to run apt-get update to correct these problemsĮ: Unable to correct problems, you have held broken packages.Ubuntu 14.04 (and various versions of Debian) come with MySQL 5.5. W: Duplicate sources.list entry stable/main i386 Packages (/var/lib/apt/lists/dl._linux_chrome_deb_dists_stable_main_binary-i386_Packages) Libmysqlclient-dev : Depends: libmysqlclient18 (= 5.5.47-0ubuntu0.14.04.1) but 10.0.24+maria-1~trusty is to be installed The following packages have unmet dependencies: The following information may help to resolve the situation: Requested an impossible situation or if you are using the unstableĭistribution that some required packages have not yet been created Mysql-server is already the newest version.

Sudo apt-get install mysql-server mysql-client libmysqlclient-devīut I'm getting the following error when the machine installing mysql client Hi I am trying to install mysql server and client on my machine (Ubuntu 14.04).
