Hello Devs,
I am setting up my working environment but I encountered an error that I’ve been trying to solve but failed. I ran the command sudo apt-get install mysql-server and the error below was displayed.
Reading package lists… Done
**Building dependency tree **
Reading state information… DoneSome packages could not be installed. This may mean that you haverequested an impossible situation or if you are using the unstabledistribution that some required packages have not yet been createdor been moved out of Incoming.The following information may help to resolve the situation:
The following packages have unmet dependencies:
** mysql-server : Depends: mysql-community-server (= 5.7.30-1debian8) but it is not going to be installed**
E: Unable to correct problems, you have held broken packages.
Its seems you are trying to install unstable mysql distribution, can you try sharing the all logs that you are getting, orelse try mysql version above that.You may also look through MYSQL 5.7 throws exception during installation, it may be of help
Hi @rad7. IIUC, you can also install/use MySQL through docker. This option is already included in OpenMRS SDK interactive setup, although I personally prefer to use a system installed MySQL.
The issue you are describing seems like a specific issue with your Linux installation; maybe you can try sudo apt-get update --fix-missing and see if it helps fixing broken dependencies.
I’m glad to inform you that I have successfully managed to install the mysql5.7 with the help you gave me as well as other resources I have been able to find. I also installed the OpenMRS SDK. The next task is for me to learn how I can use it. Any contributions or help on how I can find resources to this is still welcomed.
@gcliff I was following through the Dev Manual you recommended for me. I read through up to the Get Set Up. I was setting up an environment which I thought is a requirement for me to begin contributing. Please, guide me on this.