ansible version: 2.10.6
virtualbox version: 6
vagrant version: 2.2.14
trellis version: 1.5.0
Digital ocean droplet: Ubuntu 18
Hi,
I’m working on a website using trellis (ansible, vagrant) bedrock setup. I have set up my local development environment successfully but I see this error when I provision the staging environment
TASK [mariadb : Install MySQL client] ******************************************************************************************************************************
*************
System info:
Ansible 2.10.6; Linux
Trellis version (per changelog): "Remove prestissimo for Composer 2.0 support"
---------------------------------------------------
'/usr/bin/apt-get -y -o "Dpkg::Options::=--force-confdef" -o
"Dpkg::Options::=--force-confold" install 'mariadb-client'' failed: E:
Unable to correct problems, you have held broken packages.
E: Unable to correct problems, you have held broken packages.
fatal: [143.110.218.79]: FAILED! => {"cache_update_time": 1614332810, "cache_updated": false, "changed": false, "rc": 100, "stderr_lines": ["E: Unable to correct pr
oblems, you have held broken packages."], "stdout": "Reading package lists...\nBuilding dependency tree...\nReading state information...\nSome packages could not be
installed. This may mean that you have\nrequested an impossible situation or if you are using the unstable\ndistribution that some required packages have not yet b
een created\nor been moved out of Incoming.\nThe following information may help to resolve the situation:\n\nThe following packages have unmet dependencies:\n maria
db-client : Depends: mariadb-client-10.5 (>= 1:10.5.9+maria~focal) but it is not going to be installed\n", "stdout_lines": ["Reading package lists...", "Building de
pendency tree...", "Reading state information...", "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 hel
p to resolve the situation:", "", "The following packages have unmet dependencies:", " mariadb-client : Depends: mariadb-client-10.5 (>= 1:10.5.9+maria~focal) but i
t is not going to be installed"]}
PLAY RECAP *********************************************************************************************************************************************************
*************
143.110.218.79 : ok=48 changed=1 unreachable=0 failed=1 skipped=28 rescued=0 ignored=0
localhost : ok=0 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0
This is my first website using this setup so I am kind of lost.
Any help will be greatly appreciated.
Thanks.
Correction
The server is running Ubuntu 20