package:libapache2-mod-php7.2:7.2.5-0ubuntu0.18.04.1 Setting up libapache2-mod-php7.2 (7.2.5-0ubuntu0.18.04.1) ... locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory Replacing config file /etc/php/7.2/apache2/php.ini with new version php_invoke: Enabled module wddx for apache2 sapi php_invoke: Enabled module phar for apache2 sapi php_invoke: Enabled module gd for apache2 sapi php_invoke: Enabled module php-remctl for apache2 sapi php_invoke: Enabled module calendar for apache2 sapi php_invoke: Enabled module iconv for apache2 sapi php_invoke: Enabled module zip for apache2 sapi php_invoke: Enabled module opcache for apache2 sapi php_invoke: Enabled module posix for apache2 sapi php_invoke: Enabled module mysqli for apache2 sapi php_invoke: Enabled module mbstring for apache2 sapi php_invoke: Enabled module xmlreader for apache2 sapi php_invoke: Enabled module pdo for apache2 sapi php_invoke: Enabled module sysvmsg for apache2 sapi php_invoke: Enabled module dom for apache2 sapi php_invoke: Enabled module xsl for apache2 sapi php_invoke: Enabled module simplexml for apache2 sapi php_invoke: Enabled module readline for apache2 sapi php_invoke: Enabled module xmlwriter for apache2 sapi php_invoke: Enabled module pdo_mysql for apache2 sapi php_invoke: Enabled module mysqlnd for apache2 sapi php_invoke: Enabled module gettext for apache2 sapi php_invoke: Enabled module curl for apache2 sapi php_invoke: Enabled module sysvshm for apache2 sapi php_invoke: Enabled module sockets for apache2 sapi php_invoke: Enabled module tokenizer for apache2 sapi php_invoke: Enabled module ftp for apache2 sapi php_invoke: Enabled module shmop for apache2 sapi php_invoke: Enabled module xml for apache2 sapi php_invoke: Enabled module ctype for apache2 sapi php_invoke: Enabled module exif for apache2 sapi php_invoke: Enabled module sysvsem for apache2 sapi php_invoke: Enabled module json for apache2 sapi php_invoke: Enabled module fileinfo for apache2 sapi php_invoke: Enabled module bz2 for apache2 sapi Module mpm_event disabled. Enabling module mpm_prefork. apache2_switch_mpm Switch to prefork dpkg: error processing package libapache2-mod-php7.2 (--configure): installed libapache2-mod-php7.2 package post-installation script subprocess returned error exit status 1