我在ubuntu 16.04中遇到
mysql 5.7的问题,当涉及到给予用户权限时,所以我想重新安装它,但是当我输入删除MysqL的命令时,我得到以下消息
nato@nato-Compaq-Presario-CQ61-Notebook-PC:~$sudo apt-get remove --purge MysqL-server MysqL-client MysqL-common Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: dbconfig-MysqL : Depends: MysqL-client but it is not going to be installed or mariadb-client but it is not going to be installed or virtual-MysqL-client E: Error,pkgProblemResolver::Resolve generated breaks,this may be caused by held packages.
我也尝试了以下命令,但结果相同
sudo apt-get remove --purge MysqL* sudo apt-get autoremove sudo apt-get autoclean