Removing linux-generic-hwe-18.04 (5.4.0.26.32) ... Removing linux-generic (5.4.0.26.32) ... Removing linux-headers-5.3.0-45-generic (5.3.0-45.37~18.04.1) ... Removing linux-headers-5.3.0-45 (5.3.0-45.37~18.04.1) ... Removing linux-headers-generic-hwe-18.04 (5.4.0.26.32) ... Removing linux-headers-generic (5.4.0.26.32) ... Removing linux-modules-extra-5.3.0-45-generic (5.3.0-45.37~18.04.1) ... Removing linux-image-5.3.0-45-generic (5.3.0-45.37~18.04.1) ... 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 /etc/kernel/postrm.d/initramfs-tools: update-initramfs: Deleting /boot/initrd.img-5.3.0-45-generic /etc/kernel/postrm.d/zz-update-grub: Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/init-select.cfg' Generating grub configuration file ... Found linux image: /boot/vmlinuz-5.4.0-26-generic Found initrd image: /boot/initrd.img-5.4.0-26-generic Found linux image: /boot/vmlinuz-5.3.0-46-generic Found initrd image: /boot/initrd.img-5.3.0-46-generic Found memtest86+ image: /memtest86+.elf Found memtest86+ image: /memtest86+.bin done Removing linux-image-generic-hwe-18.04 (5.4.0.26.32) ... Removing linux-modules-5.3.0-45-generic (5.3.0-45.37~18.04.1) ... Setting up libxklavier16:amd64 (5.4-4) ... Setting up libxdamage-dev:amd64 (1:1.1.5-2) ... Setting up libsdl2-image-2.0-0:amd64 (2.0.5+dfsg1-2) ... Setting up libgoa-1.0-common (3.36.0-1ubuntu1) ... Setting up php-xml (2:7.4+75) ... Setting up libfile-stripnondeterminism-perl (1.7.0-1) ... Setting up networkd-dispatcher (2.0.1-1) ... Setting up gsettings-desktop-schemas (3.36.0-1ubuntu1) ... Setting up mysql-server-8.0 (8.0.19-0ubuntu5) ... 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 Renaming removed key_buffer and myisam-recover options (if present) ERROR: Unable to start MySQL server: 2020-04-23T09:16:37.282253Z 0 [ERROR] [MY-000077] [Server] /usr/sbin/mysqld: Error while setting value 'STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' to 'sql_mode'. 2020-04-23T09:16:37.284977Z 0 [ERROR] [MY-010119] [Server] Aborting Please take a look at https://wiki.debian.org/Teams/MySQL/FAQ for tips on fixing common upgrade issues. Once the problem is resolved, run apt-get --fix-broken install to retry. dpkg: error processing package mysql-server-8.0 (--configure): installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1 Setting up libgweather-common (3.36.0-1) ... Setting up libfile-mimeinfo-perl (0.29-1) ... Setting up gtk2-engines-murrine:amd64 (0.98.2-3) ... Setting up gtk-update-icon-cache (3.24.18-1ubuntu1) ... Setting up gedit-common (3.36.1-1) ... Setting up python-importlib-metadata (1.5.0-1) ... Setting up libdbusmenu-gtk3-4:amd64 (16.04.1+18.10.20180917-0ubuntu6) ... Setting up gstreamer1.0-x:amd64 (1.16.2-4) ... Setting up xdg-desktop-portal (1.6.0-1) ... Setting up libpangox-1.0-0:amd64 (0.0.2-5ubuntu1) ... Setting up libpython3-dev:amd64 (3.8.2-0ubuntu2) ... Setting up python3-cairo:amd64 (1.16.2-2ubuntu2) ... Setting up libpoppler-glib8:amd64 (0.86.1-0ubuntu1) ... Setting up libclang-dev (1:10.0-50~exp1) ... Setting up python3-importlib-metadata (1.5.0-1) ... Setting up libgjs0g (1.64.1-2ubuntu1) ... Setting up libpangoxft-1.0-0:amd64 (1.44.7-2ubuntu4) ... Setting up gnome-settings-daemon-common (3.36.0-1ubuntu2) ... Setting up gdebi-core (0.9.5.7+nmu3) ... Setting up python3-pymacaroons (0.13.0-3) ... Setting up rhythmbox-data (3.4.4-1ubuntu2) ... Setting up php7.4-fpm (7.4.3-4ubuntu1) ... Package apache2 is not configured yet. Will defer actions by package php7.4-fpm. 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 Creating config file /etc/php/7.4/fpm/php.ini with new version NOTICE: Not enabling PHP 7.4 FPM by default. NOTICE: To enable PHP 7.4 FPM in Apache2 do: NOTICE: a2enmod proxy_fcgi setenvif NOTICE: a2enconf php7.4-fpm NOTICE: You are seeing this message because you have apache2 package installed. Created symlink /etc/systemd/system/multi-user.target.wants/php7.4-fpm.service → /lib/systemd/system/php7.4-fpm.service. Setting up gir1.2-gdkpixbuf-2.0:amd64 (2.40.0+dfsg-3) ... Setting up libmagickcore-6.q16-6-extra:amd64 (8:6.9.10.23+dfsg-2.1ubuntu11) ... Setting up python3-jedi (0.15.2-1) ... Setting up gfortran-9 (9.3.0-10ubuntu2) ... Setting up libegl-dev:amd64 (1.3.1-1) ... Setting up yaru-theme-gtk (20.04.6) ... Setting up libextutils-pkgconfig-perl (1.16-1) ... Setting up cups-bsd (2.3.1-9ubuntu1) ... 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 Setting up libxcursor-dev:amd64 (1:1.2.0-2) ... Setting up python-keyring (18.0.1-2ubuntu1) ... Setting up po-debconf (1.0.21) ... Setting up libgtk2.0-0:amd64 (2.24.32-4ubuntu4) ... Setting up libhtml-tree-perl (5.07-2) ... Setting up docbook-xml (4.5-9) ... Setting up libparams-classify-perl (0.015-1build2) ... Setting up libwmf0.2-7-gtk (0.2.8.4-17ubuntu1) ... Setting up avahi-utils (0.7-4ubuntu7) ... Setting up libcgi-pm-perl (4.46-1) ... Setting up libqt5gui5:amd64 (5.12.8+dfsg-0ubuntu1) ... Setting up printer-driver-sag-gdi (0.1-7) ... Setting up libldap-2.4-2:amd64 (2.4.49+dfsg-2ubuntu1) ... Setting up libnet-dns-sec-perl (1.15-1) ... Setting up libcurl3-gnutls:amd64 (7.68.0-1ubuntu2) ... Setting up libqt5widgets5:amd64 (5.12.8+dfsg-0ubuntu1) ... Setting up libgtkglext1:amd64 (1.2.0-9) ... Setting up libsereal-perl (4.011-1) ... Setting up ghostscript-x (9.50~dfsg-5ubuntu4) ... Setting up libaprutil1-ldap:amd64 (1.6.1-4ubuntu2) ... Setting up dnsutils (1:9.16.1-0ubuntu2) ... Setting up libswresample3:amd64 (7:4.2.2-1ubuntu1) ... Setting up ubuntu-standard (1.450) ... Setting up phpmyadmin (4:4.9.5+dfsg1-2) ... Installing new version of config file /etc/phpmyadmin/apache.conf ... Installing new version of config file /etc/phpmyadmin/config.inc.php ... Installing new version of config file /etc/phpmyadmin/lighttpd.conf ... 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 Determining localhost credentials from /etc/mysql/debian.cnf: succeeded. dbconfig-common: writing config to /etc/dbconfig-common/phpmyadmin.conf creating database backup in /var/cache/dbconfig-common/backups/phpmyadmin_4:4.6.6-5.2020-04-23-14.47.02. 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) dbconfig-common: phpmyadmin configure: aborted. dbconfig-common: flushing administrative password dpkg: error processing package phpmyadmin (--configure): installed phpmyadmin package post-installation script subprocess returned error exit status 1