dpkg: error processing package mysql-server

后端 未结 13 919
悲&欢浪女
悲&欢浪女 2020-12-31 04:44

When I try to install mysql-server, an error comes like:

dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigure         


        
13条回答
  •  一整个雨季
    2020-12-31 05:16

    i face same error due to problem in my upgrade from ubuntu 18.04 to ubuntu 20.04 , what i did is get mariadb instead also make sure when you do pruge mysql that if asked you to remove dbs in the dir tell it not to delete the dbs so you will have your old databases with no data loss

    what i did was this cmds

    sudo apt-get purge mysql*
    sudo apt-get autoremove
    sudo apt-get autoclean
    sudo apt-get dist-upgrade
    sudo apt-get install mariadb-server
    

提交回复
热议问题