This project had the old version of Trellis that was working with with Ubuntu 16 LTS. In order to work with the new server Ubuntu 18 LTS, I’ve copied all updates files from the new version of Trellis and Bedrock and replaced, skipping the configuration files such as wordpress_sites.yml, vault.yml and hosts folder. Also skipped app folder in “site/web/app” folder.
Any ideas?
TASK [mariadb : Install MySQL client] **********************************************************************************************************************************************************************
System info:
Ansible 2.6.1; Darwin
Trellis version (per changelog): "Add Python 2 explicitly"
---------------------------------------------------
'/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: [165.128.134.215]: FAILED! => {"cache_update_time": 1547223067, "cache_updated": false, "changed": false, "rc": 100, "stderr_lines": ["E: Unable to correct problems, 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 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.2 (>= 1:10.2.21+maria~bionic) 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.2 (>= 1:10.2.21+maria~bionic) but it is not going to be installed"]}
Server Info:
Distributor ID: | Ubuntu |
---|---|
Description: | Ubuntu 18.04.1 LTS |
Release: | 18.04 |
Codename: | bionic |
Additional information:
I tried to run the command (apt-get install mariadb-client) while logged in the server and it is showing this:
The following packages have unmet dependencies:
mariadb-client : Depends: mariadb-client-10.2 (>= 1:10.2.21+maria~bionic) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.