Hello,
When provisioning the server for staging , it returns this error on trying to install mariadb installation process returning a fatal error.
My Vagrant version is: 1.9.1
$ vagrant -v
Vagrant 1.9.1
TASK [mariadb : Install MySQL client] ******************************************
System info:
Ansible 2.2.0.0; Linux
Trellis at “Add Vagrant config”‘/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.
Further output on log
fatal: [server_name]: FAILED! => {
“cache_update_time”: 1509212180,
“cache_updated”: false,
“changed”: false,
“failed”: true,
“invocation”: {
“module_args”: {
“allow_unauthenticated”: false,
“autoremove”: false,
“cache_valid_time”: 3600,
“deb”: null,
“default_release”: null,
“dpkg_options”: “force-confdef,force-confold”,
“force”: false,
“install_recommends”: null,
“name”: “mariadb-client”,
“only_upgrade”: false,
“package”: [
“mariadb-client”
],
“purge”: false,
“state”: “present”,
“update_cache”: true,
“upgrade”: null
},
“module_name”: “apt”
},
“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 been created\nor been moved out of Incoming.\nThe following information may help to resolve the situation:\n\nThe following packages have unmet dependencies:\n mariadb-client : Depends: mariadb-client-10.0 (>= 10.0.31-0ubuntu0.16.04.2) but it is not going to be installed\n”,
“stdout_lines”: [
“Reading package lists…”,
“Building dependency 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 help to resolve the situation:”,
“”,
“The following packages have unmet dependencies:”,
" mariadb-client : Depends: mariadb-client-10.0 (>= 10.0.31-0ubuntu0.16.04.2) but it is not going to be installed"
]
}
Is this due to Vagrant incompatibility? On the reqs it shows >=1.8.5
Thanks