dpkg: error processing package mysql-server

后端 未结 13 932
悲&欢浪女
悲&欢浪女 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:24

    I tried almost every possible way but nothing was working for me. Then I found the problem that I was facing was due to less available ram. You can check your current ram status by free -h (in my case available was less than 1 GB). To clear ram restart your device. Then type following commands

    sudo apt-get purge mysql*
    sudo apt-get autoremove
    sudo apt-get autoclean
    sudo apt-get dist-upgrade
    

    then again install mysql-server by

    sudo apt-get install mysql-server
    

提交回复
热议问题