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

in #howto7 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.21
TRX 0.20
JST 0.034
BTC 98637.48
ETH 3333.42
USDT 1.00
SBD 3.05