So I already installed the LAMP server from the default “one-click installation” on Digital Ocean, then tried to install iRedMail right after.
Do I need to install iRedMail first, or do I need to set a Domain Name and set up DNS records first with my LAMP stack? I’m not sure if I already needed LAMP stack with DNS records for a domain first or if I need to install iRedMail first. I believe that this is why I am running into this issue, but still not sure.
Also, when asked to “choose the web server” during installation, I chose not to install any because I already have the LAMP server installed. What should I have chosen in this case?
==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
The following packages have unmet dependencies: mariadb-server : Depends: mariadb-server-10.3 (>= 1:10.3.22-1ubuntu1) but it is not going to be installed E: Unable to correct problems, you have held broken packages. << ERROR >> Installation failed, please check the terminal output. +++++++++++++++++++++
Thanks for any support!
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi there @AaronEsteban1,
As far as I can see iRedMail requires MariaDB 10.3+. However the LAMP Droplet from the marketplace comes with MySQL server 8.x, this is why you are seeing the error.
What you need to do is delete the MySQL server completely and then install MariaDB instead. To do that you can follow these steps here:
Note: I recommend doing this on fresh Droplets instead, otherwise you risk loosing some of your data.
sudo systemctl stop mysql
sudo apt remove --purge mysql-server mysql-client mysql-common
sudo apt autoremove
sudo apt autoclean
sudo apt install mariadb-server
Hope that this helps! Regards, Bobby
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.