Public bug reported: ma.gaur@GAG1PM-FT0505:~$ sudo apt-get install mysql-server Reading package lists... Done Building dependency tree Reading state information... Done The following additional packages will be installed: libaio1 mysql-client-5.7 mysql-client-core-5.7 mysql-common mysql-server-5.7 mysql-server-core-5.7 Suggested packages: mailx tinyca The following NEW packages will be installed: libaio1 mysql-client-5.7 mysql-client-core-5.7 mysql-common mysql-server mysql-server-5.7 mysql-server-core-5.7 0 upgraded, 7 newly installed, 0 to remove and 0 not upgraded. Need to get 17.9 MB/17.9 MB of archives. After this operation, 160 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://archive.ubuntu.com/ubuntu xenial/main amd64 mysql-common all 5.7.11-0ubuntu6 [16.6 kB] Get:2 http://archive.ubuntu.com/ubuntu xenial/main amd64 mysql-client-core-5.7 amd64 5.7.11-0ubuntu6 [6,104 kB] Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 mysql-client-5.7 amd64 5.7.11-0ubuntu6 [1,722 kB] Get:4 http://archive.ubuntu.com/ubuntu xenial/main amd64 mysql-server-core-5.7 amd64 5.7.11-0ubuntu6 [7,487 kB] Get:5 http://archive.ubuntu.com/ubuntu xenial/main amd64 mysql-server-5.7 amd64 5.7.11-0ubuntu6 [2,603 kB] Get:6 http://archive.ubuntu.com/ubuntu xenial/main amd64 mysql-server all 5.7.11-0ubuntu6 [10.1 kB] Fetched 17.9 MB in 4s (3,899 kB/s) Preconfiguring packages ... Selecting previously unselected package mysql-common. (Reading database ... 232571 files and directories currently installed.) Preparing to unpack .../mysql-common_5.7.11-0ubuntu6_all.deb ... Unpacking mysql-common (5.7.11-0ubuntu6) ... Selecting previously unselected package libaio1:amd64. Preparing to unpack .../libaio1_0.3.110-2_amd64.deb ... Unpacking libaio1:amd64 (0.3.110-2) ... Selecting previously unselected package mysql-client-core-5.7. Preparing to unpack .../mysql-client-core-5.7_5.7.11-0ubuntu6_amd64.deb ... Unpacking mysql-client-core-5.7 (5.7.11-0ubuntu6) ... Selecting previously unselected package mysql-client-5.7. Preparing to unpack .../mysql-client-5.7_5.7.11-0ubuntu6_amd64.deb ... Unpacking mysql-client-5.7 (5.7.11-0ubuntu6) ... Selecting previously unselected package mysql-server-core-5.7. Preparing to unpack .../mysql-server-core-5.7_5.7.11-0ubuntu6_amd64.deb ... Unpacking mysql-server-core-5.7 (5.7.11-0ubuntu6) ... Processing triggers for libc-bin (2.23-0ubuntu11) ... Processing triggers for man-db (2.7.5-1) ... Setting up mysql-common (5.7.11-0ubuntu6) ... update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode Selecting previously unselected package mysql-server-5.7. (Reading database ... 232731 files and directories currently installed.) Preparing to unpack .../mysql-server-5.7_5.7.11-0ubuntu6_amd64.deb ... Unpacking mysql-server-5.7 (5.7.11-0ubuntu6) ... Selecting previously unselected package mysql-server. Preparing to unpack .../mysql-server_5.7.11-0ubuntu6_all.deb ... Unpacking mysql-server (5.7.11-0ubuntu6) ... Processing triggers for systemd (229-4ubuntu21.23) ... Processing triggers for ureadahead (0.100.0-19.1) ... ureadahead will be reprofiled on next reboot Processing triggers for man-db (2.7.5-1) ... Setting up libaio1:amd64 (0.3.110-2) ... Setting up mysql-client-core-5.7 (5.7.11-0ubuntu6) ... Setting up mysql-client-5.7 (5.7.11-0ubuntu6) ... Setting up mysql-server-core-5.7 (5.7.11-0ubuntu6) ... Setting up mysql-server-5.7 (5.7.11-0ubuntu6) ... update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Job for mysql.service failed because the control process exited with error code. 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: exit-code) since Mon 2019-12-09 18:57:02 IST; 19ms ago Process: 5852 ExecStartPost=/usr/share/mysql/mysql-systemd-start post (code=exited, status=0/SUCCESS) Process: 5851 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE) Process: 5841 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS) Main PID: 5851 (code=exited, status=1/FAILURE) Dec 09 18:57:02 GAG1PM-FT0505 systemd[1]: Failed to start MySQL Community Server. Dec 09 18:57:02 GAG1PM-FT0505 systemd[1]: mysql.service: Unit entered failed state. Dec 09 18:57:02 GAG1PM-FT0505 systemd[1]: mysql.service: Failed with result 'exit-code'. dpkg: error processing package mysql-server-5.7 (--configure): subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of mysql-server: mysql-server depends on mysql-server-5.7; however: Package mysql-server-5.7 is not configured yet. dpkg: error processing package mysql-server (--configure): dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure. Processing triggers for libc-bin (2.23-0ubuntu11) ... Processing triggers for systemd (229-4ubuntu21.23) ... Processing triggers for ureadahead (0.100.0-19.1) ... Errors were encountered while processing: mysql-server-5.7 mysql-server E: Sub-process /usr/bin/dpkg returned an error code (1) ProblemType: Package DistroRelease: Ubuntu 16.04 Package: mysql-server-5.7 5.7.11-0ubuntu6 ProcVersionSignature: Ubuntu 4.15.0-72.81~16.04.1-generic 4.15.18 Uname: Linux 4.15.0-72-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.21 Architecture: amd64 Date: Mon Dec 9 18:57:06 2019 ErrorMessage: subprocess installed post-installation script returned error exit status 1 InstallationDate: Installed on 2019-06-07 (185 days ago) InstallationMedia: Ubuntu 16.04.5 LTS "Xenial Xerus" - Release amd64 (20180731) 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: ['debian-5.7.flag', 'ib_logfile1', 'performance_schema', 'mysql', 'ib_logfile0', 'auto.cnf', 'sys', 'ibdata1', 'ib_buffer_pool'] ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.15.0-72-generic root=UUID=6f66181f-7bc0-4466-8d74-e51d78a29f97 ro quiet splash vt.handoff=7 RelatedPackageVersions: dpkg 1.18.4ubuntu1.6 apt 1.2.32 SourcePackage: mysql-5.7 Title: package mysql-server-5.7 5.7.11-0ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: mysql-5.7 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-package third-party-packages xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1855718 Title: package mysql-server-5.7 5.7.11-0ubuntu6 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1855718/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs