mysql-server : Depends: mysql-server-5.7 but it is not going to be installed

in #howto6 years ago

The error:

mysql-server : Depends: mysql-server-5.7 but it is not going to be installed

happens when there is either

  1. MariaDB installed and then removed
  2. Something went wrong with the upgrade and downgrade

To fix,

/var/lib/mysql/debian-*.flag and try installing again.

rm -f /var/lib/mysql/debian-10.0.flag

Try apt -f install

and apt install mysql-server

Coin Marketplace

STEEM 0.18
TRX 0.14
JST 0.029
BTC 57849.42
ETH 3122.29
USDT 1.00
SBD 2.43