![]() Sudo dpkg -i mysql-community-server_5.7.30-1ubuntu18.04_b Sudo dpkg -i mysql-community-client_5.7.30-1ubuntu18.04_b 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 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? 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. 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. This will change the output just for that command, without changing the default output.I am trying to install MySQL 5.7 on a fresh Ubuntu 20.04 installation. mysql -p -u root cp_intrafish
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |