Public bug reported: I'm on Description: Ubuntu 20.04.1 LTS Release: 20.04
Package mysql-server: Installed: 8.0.22-0ubuntu0.20.04.3 Candidate: 8.0.22-0ubuntu0.20.04.3 Version table: *** 8.0.22-0ubuntu0.20.04.3 500 500 http://mirror.intergrid.com.au/ubuntu focal-updates/main amd64 Packages 500 http://mirror.intergrid.com.au/ubuntu focal-updates/main i386 Packages 500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages 500 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages 100 /var/lib/dpkg/status 8.0.19-0ubuntu5 500 500 http://mirror.intergrid.com.au/ubuntu focal/main amd64 Packages 500 http://mirror.intergrid.com.au/ubuntu focal/main i386 Packages Every ubuntu update hangs/fail due to a problem with the mysql-server package. I can reproduce the issue by running >> sudo dpkg --configure -a -------------------------------------- Setting up mysql-server-8.0 (8.0.22-0ubuntu0.20.04.3) ... mysqld will log errors to /var/log/mysql/error.log mysqld is running as pid 3977 Job for mysql.service failed because a timeout was exceeded. See "systemctl status mysql.service" and "journalctl -xe" for details. invoke-rc.d: initscript mysql, action "start" failed. ● mysql.service - MySQL Community Server Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: timeout) since Thu 2020-12-17 12:19:37 AEDT; 10ms ago Process: 4120 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS) Process: 4154 ExecStart=/usr/sbin/mysqld (code=exited, status=0/SUCCESS) Main PID: 4154 (code=exited, status=0/SUCCESS) Dec 17 12:19:38 mail systemd[1]: mysql.service: Scheduled restart job, restart counter is at 1. Dec 17 12:19:38 mail systemd[1]: Stopped MySQL Community Server. Dec 17 12:19:38 mail systemd[1]: Starting MySQL Community Server... dpkg: error processing package mysql-server-8.0 (--configure): installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1 dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-server-8.0; however: Package mysql-server-8.0 is not configured yet. dpkg: error processing package mysql-server (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: mysql-server-8.0 mysql-server ------------------------------------------------------------- >> sudo dpkg-reconfigure mysql-server-8.0 -------------------------- /usr/sbin/dpkg-reconfigure: mysql-server-8.0 is broken or not fully installed ------------------------------ >> sudo apt policy mysql-server-8.0 ------------------------------------------------------- mysql-server-8.0: Installed: 8.0.22-0ubuntu0.20.04.3 Candidate: 8.0.22-0ubuntu0.20.04.3 Version table: *** 8.0.22-0ubuntu0.20.04.3 500 500 http://mirror.intergrid.com.au/ubuntu focal-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages 100 /var/lib/dpkg/status 8.0.19-0ubuntu5 500 500 http://mirror.intergrid.com.au/ubuntu focal/main amd64 Packages ------------------------------------------------------------------- >> sudo dpkg -l mysql-server-8.0 ----------------------------------------- Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-================-=======================-============-======================================================== iF mysql-server-8.0 8.0.22-0ubuntu0.20.04.3 amd64 MySQL database server binaries and system database setup ------------------------------------------ >> sudo apt install --reinstall mysql-server-8.0 ---------------------------------------- Reading package lists... Done Building dependency tree Reading state information... Done 0 to upgrade, 0 to newly install, 1 to reinstall, 0 to remove and 0 not to upgrade. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. E: Internal Error, No file name for mysql-server-8.0:amd64 ------------------------------------------- >> sudo apt install --reinstall mysql-server ------------------------------------------------- Reading package lists... Done Building dependency tree Reading state information... Done 0 to upgrade, 0 to newly install, 1 to reinstall, 0 to remove and 0 not to upgrade. 2 not fully installed or removed. After this operation, 0 B of additional disk space will be used. E: Internal Error, No file name for mysql-server:amd64 --------------------------------------------------- >> sudo dpkg -V mysql-server-8.0 ------------------------------ ??5?????? c /etc/apparmor.d/usr.sbin.mysqld ??5?????? c /etc/mysql/mysql.conf.d/mysqld.cnf --------------------------------- ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: mysql-server 8.0.22-0ubuntu0.20.04.3 ProcVersionSignature: Ubuntu 5.4.0-58.64-generic 5.4.73 Uname: Linux 5.4.0-58-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.14 Architecture: amd64 CasperMD5CheckResult: skip Date: Wed Dec 23 11:51:33 2020 Logs.var.log.daemon.log: MySQLConf.etc.mysql.conf.d.mysql.cnf: [mysql] MySQLConf.etc.mysql.conf.d.mysqldump.cnf: [mysqldump] quick quote-names max_allowed_packet = 16M MySQLConf.etc.mysql.mysql.conf.d.mysqld_safe_syslog.cnf: [mysqld_safe] syslog MySQLVarLibDirListing: False PackageArchitecture: all SourcePackage: mysql-8.0 UpgradeStatus: Upgraded to focal on 2020-10-24 (59 days ago) modified.conffile..etc.apparmor.d.usr.sbin.mysqld: [modified] modified.conffile..etc.mysql.mysql.conf.d.mysqld.cnf: [modified] mtime.conffile..etc.apparmor.d.usr.sbin.mysqld: 2017-01-30T16:55:00.692188 mtime.conffile..etc.mysql.mysql.conf.d.mysqld.cnf: 2020-12-17T10:03:25.429047 ** Affects: mysql-8.0 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug focal third-party-packages -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1909043 Title: cannot upgrade mysql server package To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1909043/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs