Public bug reported:

Using Ubuntu 18.04 LTS Gnome 3.28.1, 64bit Intel i5-4570 CPU,
 installing mysql server, expected prompt for password - prompt never appeared.
sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  gdal-data libaec0 libarmadillo8 libarpack2 libatkmm-1.6-1v5
  libcairomm-1.0-1v5 libctemplate3 libdap25 libdapclient6v5 libepsilon1
  libfreexl1 libfyba0 libgeos-3.6.2 libgeos-c1v5 libgeotiff2 libglibmm-2.4-1v5
  libgnome-keyring-common libgnome-keyring0 libgtkmm-2.4-1v5 libhdf4-0-alt
  libhdf5-100 libkmlbase1 libkmldom1 libkmlengine1 libmecab2 libminizip1
  libnetcdf13 libodbc1 libogdi3.2 libpangomm-1.4-1v5 libpcrecpp0v5 libpq5
  libproj12 libqhull7 libsigc++-2.0-0v5 libspatialite7 libsuperlu5 libsz2
  libtinyxml2.6.2v5 liburiparser1 libvsqlitepp3v5 libxerces-c3.2 libzip4
  mecab-ipadic mecab-ipadic-utf8 mecab-utils odbcinst odbcinst1debian2
  proj-bin proj-data python-asn1crypto python-cffi-backend python-cryptography
  python-enum34 python-idna python-ipaddress python-mysql.connector
  python-paramiko python-pexpect python-ptyprocess python-pyasn1 python-pyodbc
  python-pysqlite2 python-six
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libevent-core-2.1-6 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:
  libevent-core-2.1-6 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 0 B/20.3 MB of archives.
After this operation, 160 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
Selecting previously unselected package mysql-common.
(Reading database ... 163023 files and directories currently installed.)
Preparing to unpack .../mysql-common_5.8+1.0.4_all.deb ...
Unpacking mysql-common (5.8+1.0.4) ...
Selecting previously unselected package mysql-client-core-5.7.
Preparing to unpack .../mysql-client-core-5.7_5.7.21-1ubuntu1_amd64.deb ...
Unpacking mysql-client-core-5.7 (5.7.21-1ubuntu1) ...
Selecting previously unselected package mysql-client-5.7.
Preparing to unpack .../mysql-client-5.7_5.7.21-1ubuntu1_amd64.deb ...
Unpacking mysql-client-5.7 (5.7.21-1ubuntu1) ...
Selecting previously unselected package mysql-server-core-5.7.
Preparing to unpack .../mysql-server-core-5.7_5.7.21-1ubuntu1_amd64.deb ...
Unpacking mysql-server-core-5.7 (5.7.21-1ubuntu1) ...
Selecting previously unselected package libevent-core-2.1-6:amd64.
Preparing to unpack .../libevent-core-2.1-6_2.1.8-stable-4build1_amd64.deb ...
Unpacking libevent-core-2.1-6:amd64 (2.1.8-stable-4build1) ...
Setting up mysql-common (5.8+1.0.4) ...
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 ... 163183 files and directories currently installed.)
Preparing to unpack .../mysql-server-5.7_5.7.21-1ubuntu1_amd64.deb ...
Unpacking mysql-server-5.7 (5.7.21-1ubuntu1) ...
Selecting previously unselected package mysql-server.
Preparing to unpack .../mysql-server_5.7.21-1ubuntu1_all.deb ...
Unpacking mysql-server (5.7.21-1ubuntu1) ...
Setting up libevent-core-2.1-6:amd64 (2.1.8-stable-4build1) ...
Processing triggers for ureadahead (0.100.0-20) ...
Setting up mysql-server-core-5.7 (5.7.21-1ubuntu1) ...
Processing triggers for libc-bin (2.27-3ubuntu1) ...
Processing triggers for systemd (237-3ubuntu10) ...
Processing triggers for man-db (2.8.3-2) ...
Setting up mysql-client-core-5.7 (5.7.21-1ubuntu1) ...
Setting up mysql-client-5.7 (5.7.21-1ubuntu1) ...
Setting up mysql-server-5.7 (5.7.21-1ubuntu1) ...
Installing new version of config file /etc/apparmor.d/usr.sbin.mysqld ...
Installing new version of config file /etc/init.d/mysql ...
Installing new version of config file /etc/mysql/mysql.cnf ...
Installing new version of config file /etc/mysql/mysql.conf.d/mysqld.cnf ...
update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf 
(my.cnf) in auto mode
Unable to determine if daemon is running: No such file or directory
Warning: Unable to start the server. Please restart MySQL and run mysql_upgrade 
to ensure the database is ready for use.
Unable to determine if daemon is running: No such file or directory
Warning: Unable to start the server.
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 2018-04-30 
19:20:00 EDT; 5ms ago
  Process: 13717 ExecStart=/usr/sbin/mysqld --daemonize 
--pid-file=/run/mysqld/mysqld.pid (code=exited, status=1/FAILURE)
  Process: 13706 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre 
(code=exited, status=0/SUCCESS)
 Main PID: 21680 (code=exited, status=0/SUCCESS)
dpkg: error processing package mysql-server-5.7 (--configure):
 installed mysql-server-5.7 package post-installation script subprocess 
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
Processing triggers for ureadahead (0.100.0-20) ...
No apport report written because the error message indicates its a followup 
error from a previous failure.
                          Processing triggers for systemd (237-3ubuntu10) ...
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 18.04
Package: mysql-server-5.7 5.7.21-1ubuntu1
ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17
Uname: Linux 4.15.0-20-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.9-0ubuntu7
Architecture: amd64
Date: Mon Apr 30 19:20:00 2018
ErrorMessage: installed mysql-server-5.7 package post-installation script 
subprocess returned error exit status 1
InstallationDate: Installed on 2018-04-29 (1 days ago)
InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426)
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: ['performance_schema', 'server-key.pem', 'sys', 
'ca.pem', 'binlog.index', 'debian-5.7.flag', 'undo_001', 'mysql.ibd', 
'binlog.000001', 'ib_logfile1', 'undo_002', 'ca-key.pem', 'mysql', 
'server-cert.pem', 'ib_buffer_pool', 'ibdata1', 'client-cert.pem', 
'private_key.pem', 'public_key.pem', 'auto.cnf', 'ib_logfile0', 
'client-key.pem']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.15.0-20-generic 
root=UUID=408eb6d7-28d2-4031-be90-f938042e06f1 ro quiet splash vt.handoff=1
Python3Details: /usr/bin/python3.6, Python 3.6.5, python3-minimal, 3.6.5-3
PythonDetails: /usr/bin/python2.7, Python 2.7.15rc1, python-minimal, 
2.7.15~rc1-1
RelatedPackageVersions:
 dpkg 1.19.0.5ubuntu2
 apt  1.6.1
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.21-1ubuntu1 failed to install/upgrade: 
installed mysql-server-5.7 package post-installation script subprocess returned 
error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: mysql-5.7 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apparmor apport-package bionic

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1768153

Title:
  package mysql-server-5.7 5.7.21-1ubuntu1 failed to install/upgrade:
  installed mysql-server-5.7 package post-installation script subprocess
  returned error exit status 1

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-5.7/+bug/1768153/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to