mindsger.blogg.se

Ubuntu mysqlclient
Ubuntu mysqlclient





Sudo dpkg -i mysql-community-source_5.7.30-1ubuntu18.04_b I think the order is : sudo dpkg -i mysql-common_5.7.30-1ubuntu18.04_b Package: mysql-serverįirst I removed mysql from my pc remove Mysql

ubuntu mysqlclient

Prevent upgrading to MySQL 8 - thanks to NSwanson7 in this post sudo nano /etc/apt/preferences.d/mysqlĪdd the following content in the above created file. I used the following to secure the MySQL installation Sudo apt install -f mysql-server=5.7.30-1ubuntu18.04 Sudo apt install -f mysql-community-server=5.7.30-1ubuntu18.04 sudo apt install -f mysql-client=5.7.30-1ubuntu18.04 Then I traced my steps backwards - installed mysql-community-server and then mysql-server. I tried to install this one, and it worked. I tried installing the later, it failed again, requesting mysql-client. Basically, I tried installing mysql-server - it failed requesting mysql-community-server. Otherwise errors similar to the ones in my original question, are displayed. I don't know why, but without the following, it gave an error while installing mysql-community-server and failed. Run the command bellow and select MySQL 5.7 from the list: sudo dpkg-reconfigure mysql-apt-config Sudo dpkg -i mysql-apt-config_0.8.10-1_all.deb This commented out all entries in /etc/apt//mysql.list (created according to Kulfy's answer in this post) So, I installed mysql-apt-config as a helper. As you will see, I don't understand why some things worked and some didn't. I managed to make it work! I am not an experienced Linux user, therefore please feel free to comment/edit/improve my answer. I also tried the suggestions in this post and also this one (what I thought could work).Ĭan you please point me in the right direction?

ubuntu mysqlclient

Mysql-server : Depends: mysql-server-5.7 but it is not going to be installedĮ: Unable to correct problems, you have held broken packages. 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 The output of the above command is: Reading package lists. I used the following command to install mysql-server.

ubuntu mysqlclient

The output of apt-cache policy mysql-server I was able to install mysql-client, but not mysql-server. I followed Kulfy's steps in this post to install MySQL 5.7 on Ubuntu 20.04. I am trying to install MySQL 5.7 on a fresh Ubuntu 20.04 installation.







Ubuntu mysqlclient