I was following this instruction https://askubuntu.com/a/765458/490870
duke@ostrov:~$ sudo apt install mysql-server-5.6
[sudo] password for duke:
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:
mysql-server-5.6 : Depends: initscripts but it is not installable
Depends: sysv-rc (>= 2.88dsf-24) but it is not installable or
file-rc (>= 0.8.16) but it is not installable
Recommends: libhtml-template-perl but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
duke@ostrov:~$ sudo rm /var/lib/mysql/debian-5.7.flag
rm: cannot remove '/var/lib/mysql/debian-5.7.flag': No such file or directory
5.6.35
withdpkg
. But theapt
issue is still opened anyways. – Viktor Dec 19 '16 at 07:46