Errors were encountered while processing:

[code language=”css”]
dpkg: error processing package mariadb-server (–configure):
dependency problems – leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu7) …
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
mariadb-server-10.1
mariadb-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
2017-07-15 16:15:35,896 (INFO) ee : Oops Something went wrong!!
2017-07-15 16:15:35,896 (ERROR) ee : Check logs for reason `tail /var/log/ee/ee.log` & Try Again!!!
[/code]

 

Solution:

sudo -s
cd /var/cache/debconf
rm *.dat
apt-get update && apt-get upgrade

 

Ref: https://askubuntu.com/questions/104493/errors-were-encountered-while-processing-man-db

 

Note: I couldn’t find the reason for that but got the solution. Anyone knows the reason?