0

I also follow the link to install 5.6

Install mysql 5.6 on Ubuntu 18.04 LTS

but it not working in my case

I Also install mysql 5.6 for ubuntu 18.04

sudo apt-get install software-properties-common
sudo add-apt-repository -y ppa:ondrej/mysql-5.6
sudo apt-get update
sudo apt-get install mysql-server-5.6

And it give error

enter image description here

And Error is :-

rockyhandsome@rockyhandsome:~$ sudo apt-get install mysql-server-5.6
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
E: Unable to correct problems, you have held broken packages.
  • Hello and welcome to AU. In order to get help, you need to give more detail: what exactly does not work, do you have an error message, at what stage,... – Marc Vanhoomissen Oct 11 '18 at 15:15
  • I am install mysql 5.6 in ubuntu 18.04 sudo apt-get install software-properties-common sudo add-apt-repository -y ppa:ondrej/mysql-5.6 sudo apt-get update sudo apt-get install mysql-server-5.6 – Rakesh Shriwas Oct 11 '18 at 15:19
  • And Getting some error – Rakesh Shriwas Oct 11 '18 at 15:20
  • And what is the error please post into your question not comments! – George Udosen Oct 11 '18 at 15:21
  • Please don't post commands and output in comments. Simply edit your question. – Mr Shunz Oct 11 '18 at 15:21

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.