By davidboudia
I’ve recently upgraded to Ubuntu 20.04.1 LTS and it tells me that mySQL 8 didn’t update successfully. When I try to follow steps to “Fix” the error I keep getting the same error:
dpkg: error processing package mysql-server (–configure): dependency problems - leaving unconfigured Errors were encountered while processing: mysql-server-8.0 mysql-server
Please help!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi, @davidboudia You can use the following to remove any redundant dependency issues and install a functioning MySQL package
Note: I will strongly recommend you to take a snapshot of the droplet before executing any commands. Further troubleshooting the issue can cause issues with other services and it’s good to have a copy of the current state of the droplet.
sudo apt-get clean
sudo apt-get purge mysql*
sudo apt-get update
sudo apt-get install -f
sudo apt-get install mysql-server-5.7
sudo apt-get dist-upgrade
This should sort the issue for you. Let us know how it goes.
Hope that this helps! Regards, Alex
Hey mirshakil
Would you mind sharing more information about the issue that you’re currently experiencing?
Regards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.