Bench install failure on Ubuntu Trusty

Installation of erpnext fails on ubuntu trusty with the below error. This is a fresh installation of erpnext that i am trying for now. Had not faced this issue before when I had installed this on another instance.
Command executed - sudo bash setup_frappe.sh --setup-production

Adding ubuntu mariadb repo
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.QS0LwjSqIY --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
gpg: requesting key 1BB943DB from hkp server keyserver.ubuntu.com
gpgkeys: key CBCB082A1BB943DB can’t be retrieved
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0

import the MariaDB public key

sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db

and then run script again.

Importing the mariadb public key fails, please find the message recevied below.

frappe@frappe-VirtualBox:~$ sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.4i2YEXA9rb --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
gpg: requesting key 1BB943DB from hkp server keyserver.ubuntu.com
gpgkeys: key CBCB082A1BB943DB can’t be retrieved
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0