Fresh Install Error Ubuntu 16.04: No package matching 'libmariadbclient18' is available

Got his when fresh-install on Ubuntu 16.04…tried to remove mariadb and reinstall but it didn’t work

failed: [localhost] (item=[u'mariadb-server', u'mariadb-client', u'mariadb-common', u'libmariadbclient18', u'python-mysqldb']) => {
    "failed": true,
    "invocation": {
        "module_args": {
            "allow_unauthenticated": false,
            "autoremove": null,
            "cache_valid_time": 0,
            "deb": null,
            "default_release": null,
            "dpkg_options": "force-confdef,force-confold",
            "force": false,
            "install_recommends": null,
            "name": [
                "mariadb-server",
                "mariadb-client",
                "mariadb-common",
                "libmariadbclient18",
                "python-mysqldb"
            ],
            "only_upgrade": false,
            "package": [
                "mariadb-server",
                "mariadb-client",
                "mariadb-common",
                "libmariadbclient18",
                "python-mysqldb"
            ],
            "purge": false,
            "state": "present",
            "update_cache": null,
            "upgrade": null
        }
    },
    "item": [
        "mariadb-server",
        "mariadb-client",
        "mariadb-common",
        "libmariadbclient18",
        "python-mysqldb"
    ],
    "msg": "No package matching 'libmariadbclient18' is available"

Oh that is very interesting. Can you scroll up a bit and see what *.yml file that error came from?

Solved.
commented this out in /etc/mysql/conf.d/settings.cnf
socket = /var/lib/mysql/mysql.sock
pid-file = /var/lib/mysql/mysql.pid

then bench reinstall

Ah. I see. I cover this issue in my version of the install instructions

https://jwrober.github.io/erpnext_admin_guide/i-u-b/install