package:roundcube-core:1.4.3+dfsg.1-1 Installing new version of config file /etc/roundcube/htaccess ... Determining localhost credentials from /etc/mysql/debian.cnf: succeeded. dbconfig-common: writing config to /etc/dbconfig-common/roundcube.conf [?1049h[?1h=[?25l                                    [37;1 H                                         Package configuration┌────────────────────────────────────────────────────────────────────────────┤ Configuring roundcube-core ├──────────────────────────────────────────────────── ─────────────────────────┐│ │ │ According to the maintainer for this package, database upgrade operations need to be performed on roundcube. Typically, this is due to changes in how a new upstream version of the │ │ package needs to store its data. │ │ │ │ If you want to handle this process man ually, you should refuse this option. Otherwise, you should choose this option. During the upgrade, a backup of the database will be made in │ │ /var/cache/dbconfig-common/backups, from which the database can be restored in the case of problems. │ │ │ │ Perform upgrade on database for roundcube with dbconfig-common? │ │ │ │  │ │ │ └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────� �─────────────────┘  [?25h [?1l>[?1049lcreating database backup in /var/cache/dbconfig-common/backups/roundcube_1.3.6+dfsg.1-1.2022-02-08-22.13.54. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2). unable to connect to mysql server. dumping database as user failed, retrying with administrator credentials. ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2). unable to connect to mysql server. error encountered backing up the old database: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) [?1049h[?1h=[?25l                                    [37;1 H                                         Package configuration┌───────────────────────────────────────────────────────────────────────────┤ Configuring roundcube-core ├───────────────────────────────────────────────────── ───────────────────────┐│ An error occurred while upgrading the database: │ │ │ │ ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) │ │ │ │ Fortunately, /var/cache/dbconfig-common/backups/roun dcube_1.3.6+dfsg.1-1.2022-02-08-22.13.54 should hold a backup of the database, made just before the upgrade (unless the error │ │ occurred during backup creation, in which case no changes will have been applied yet). Your options are: │ │ * abort - Causes the operation to fail; you will need to downgrade, │ │ reinstall, reconfigure this package, or otherwise manually intervene │ │ to continue using it. This will usually also impact your ability to │  │ install other packages until the installation failure is resolved. │ │ * retry - Prompts once more with all the configuration questions │ │ (including ones you may have missed due to the debconf priority │ │ setting) and makes another attempt at performing the operation. │ │ * retry (skip questions) - Immediately attempts the operation again, │ │ skipping all questions. This is normally useful only if you have │ │ solved the underlying problem since the time the error occurred. │ │ * ignore - Continues the operation ignoring dbconfig-common errors. │ │ This will usually leave this package without a functional database. │ │ │ │ Next step for database upgrade: │ │ │ │ abort  │ │ retry │ │ retry (skip questions) │ │ ignore │ │ │ │ │ │ │ │ │ └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘  abort retry retry retry (skip questions) retry (skip questions) ignore [?25h [?1l>[?1049ldbconfig-common: roundcube configure: ignoring errors from here forwards applying upgrade sql for 1.3.6+dfsg.1-1 -> 1.4.1-1. dbconfig-common: flushing administrative password Package apache2 is not configured yet. Will defer actions by package roundcube-core. PHP Fatal error: Uncaught Error: Call to undefined function mb_internal_encoding() in /usr/share/roundcube/program/lib/Roundcube/bootstrap.php:86 Stack trace: #0 /usr/share/roundcube/program/include/iniset.php(66): require_once() #1 /usr/share/roundcube/program/include/clisetup.php(25): require_once('/usr/share/roun...') #2 /usr/share/roundcube/bin/update.sh(28): require_once('/usr/share/roun...') #3 {main} thrown in /usr/share/roundcube/program/lib/Roundcube/bootstrap.php on line 86 dpkg: error processing package roundcube-core (--configure): installed roundcube-core package post-installation script subprocess returned error exit status 255