Public bug reported:

I was confused about how to access to _mysql>_ without mysql's root
password so purged and reinstalled then I got errors whenever I try to
reinstall with dpkg

/var/log/dpkg.log
2016-09-14 19:09:14 configure libappstream-glib8:i386 0.5.13-1ubuntu3 <none>
2016-09-14 19:09:14 status unpacked libappstream-glib8:i386 0.5.13-1ubuntu3
2016-09-14 19:09:14 status half-configured libappstream-glib8:i386 
0.5.13-1ubuntu3
2016-09-14 19:09:14 status installed libappstream-glib8:i386 0.5.13-1ubuntu3
2016-09-14 19:09:14 trigproc libc-bin:i386 2.23-0ubuntu3 <none>
2016-09-14 19:09:14 status half-configured libc-bin:i386 2.23-0ubuntu3
2016-09-14 19:09:14 status installed libc-bin:i386 2.23-0ubuntu3
2016-09-14 19:09:18 startup packages configure
2016-09-14 19:09:18 configure mysql-server-5.7:i386 5.7.15-0ubuntu0.16.04.1 
<none>
2016-09-14 19:09:18 status half-configured mysql-server-5.7:i386 
5.7.15-0ubuntu0.16.04.1

/var/log/syslog

[...........]
Sep 14 19:20:33 utilisateur-Lenovo-B590 systemd[1]: mysql.service: Main process 
exited, code=exited, status=1/FAILURE
Sep 14 19:20:36 utilisateur-Lenovo-B590 AptDaemon: INFO: Quitting due to 
inactivity
Sep 14 19:20:36 utilisateur-Lenovo-B590 AptDaemon: INFO: Quitting was requested
Sep 14 19:20:36 utilisateur-Lenovo-B590 org.debian.apt[2315]: 19:20:36 
AptDaemon [INFO]: Quitting due to inactivity
Sep 14 19:20:36 utilisateur-Lenovo-B590 org.debian.apt[2315]: 19:20:36 
AptDaemon [INFO]: Quitting was requested
Sep 14 19:21:00 utilisateur-Lenovo-B590 systemd[1]: Failed to start MySQL 
Community Server.
Sep 14 19:21:00 utilisateur-Lenovo-B590 systemd[1]: mysql.service: Unit entered 
failed state.
Sep 14 19:21:00 utilisateur-Lenovo-B590 systemd[1]: mysql.service: Failed with 
result 'exit-code'.
Sep 14 19:21:01 utilisateur-Lenovo-B590 systemd[1]: mysql.service: Service 
hold-off time over, scheduling restart.
Sep 14 19:21:01 utilisateur-Lenovo-B590 systemd[1]: Stopped MySQL Community 
Server.
Sep 14 19:21:01 utilisateur-Lenovo-B590 systemd[1]: Starting MySQL Community 
Server...
Sep 14 19:21:02 utilisateur-Lenovo-B590 kernel: [142810.752290] audit: 
type=1400 audit(1473873662.046:4718): apparmor="DENIED" opera
tion="mknod" profile="/usr/sbin/mysqld" name="/run/mysqld/mysql.sock.lock" 
pid=21803 comm="mysqld" requested_mask="c" denied_mask="c
" fsuid=121 ouid=121
Sep 14 19:21:03 utilisateur-Lenovo-B590 systemd[1]: mysql.service: Main process 
exited, code=exited, status=1/FAILURE
Sep 14 19:21:31 utilisateur-Lenovo-B590 systemd[1]: Failed to start MySQL 
Community Server.
Sep 14 19:21:31 utilisateur-Lenovo-B590 systemd[1]: mysql.service: Unit entered 
failed state.
Sep 14 19:21:31 utilisateur-Lenovo-B590 systemd[1]: mysql.service: Failed with 
result 'exit-code'.
Sep 14 19:21:31 utilisateur-Lenovo-B590 systemd[1]: mysql.service: Service 
hold-off time over, scheduling restart.
Sep 14 19:21:31 utilisateur-Lenovo-B590 systemd[1]: Stopped MySQL Community 
Server.
Sep 14 19:21:31 utilisateur-Lenovo-B590 systemd[1]: Starting MySQL Community 
Server...
Sep 14 19:21:32 utilisateur-Lenovo-B590 kernel: [142841.294952] audit: 
type=1400 audit(1473873692.585:4719): apparmor="DENIED" opera
tion="mknod" profile="/usr/sbin/mysqld" name="/run/mysqld/mysql.sock.lock" 
pid=21902 comm="mysqld" requested_mask="c" denied_mask="c
" fsuid=121 ouid=121
Sep 14 19:21:34 utilisateur-Lenovo-B590 systemd[1]: mysql.service: Main process 
exited, code=exited, status=1/FAILURE
Sep 14 19:22:01 utilisateur-Lenovo-B590 systemd[1]: Failed to start MySQL 
Community Server.
Sep 14 19:22:01 utilisateur-Lenovo-B590 systemd[1]: mysql.service: Unit entered 
failed state.
Sep 14 19:22:01 utilisateur-Lenovo-B590 systemd[1]: mysql.service: Failed with 
result 'exit-code'.
Sep 14 19:22:02 utilisateur-Lenovo-B590 systemd[1]: mysql.service: Service 
hold-off time over, scheduling restart.
Sep 14 19:22:02 utilisateur-Lenovo-B590 systemd[1]: Stopped MySQL Community 
Server.
Sep 14 19:22:02 utilisateur-Lenovo-B590 systemd[1]: Starting MySQL Community 
Server...
Sep 14 19:22:03 utilisateur-Lenovo-B590 kernel: [142871.776404] audit: 
type=1400 audit(1473873723.068:4720): apparmor="DENIED" opera
tion="mknod" profile="/usr/sbin/mysqld" name="/run/mysqld/mysql.sock.lock" 
pid=22006 comm="mysqld" requested_mask="c" denied_mask="c
" fsuid=121 ouid=121
Sep 14 19:22:04 utilisateur-Lenovo-B590 systemd[1]: mysql.service: Main process 
exited, code=exited, status=1/FAILURE
Sep 14 19:22:32 utilisateur-Lenovo-B590 systemd[1]: Failed to start MySQL 
Community Server.
Sep 14 19:22:32 utilisateur-Lenovo-B590 systemd[1]: mysql.service: Unit entered 
failed state.
Sep 14 19:22:32 utilisateur-Lenovo-B590 systemd[1]: mysql.service: Failed with 
result 'exit-code'.
Sep 14 19:22:32 utilisateur-Lenovo-B590 systemd[1]: mysql.service: Service 
hold-off time over, scheduling restart.
Sep 14 19:22:32 utilisateur-Lenovo-B590 systemd[1]: Stopped MySQL Community 
Server.
Sep 14 19:22:32 utilisateur-Lenovo-B590 systemd[1]: Starting MySQL Community 
Server...
Sep 14 19:22:33 utilisateur-Lenovo-B590 kernel: [142902.274609] audit: 
type=1400 audit(1473873753.564:4721): apparmor="DENIED" opera
tion="mknod" profile="/usr/sbin/mysqld" name="/run/mysqld/mysql.sock.lock" 
pid=22108 comm="mysqld" requested_mask="c" denied_mask="c
" fsuid=121 ouid=121
Sep 14 19:22:35 utilisateur-Lenovo-B590 systemd[1]: mysql.service: Main process 
exited, code=exited, status=1/FAILURE

[.........]

I'm thinking about installing manually the mysql community server with
cmake and other tools. I have no idea what is happening with systemd and
dpkg-config

ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: mysql-server-5.7 5.7.15-0ubuntu0.16.04.1
ProcVersionSignature: Ubuntu 4.4.0-36.55-generic 4.4.16
Uname: Linux 4.4.0-36-generic i686
NonfreeKernelModules: wl
ApportVersion: 2.20.1-0ubuntu2.1
Architecture: i386
Date: Wed Sep 14 19:09:10 2016
ErrorMessage: subprocess installed post-installation script returned error exit 
status 1
InstallationDate: Installed on 2016-03-25 (173 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release i386 (20150422)
Logs.var.log.daemon.log:
 
Logs.var.log.mysql.error.log: 
MySQLConf.etc.mysql.mysql.conf.d.mysqld_safe_syslog.cnf:
 [mysqld_safe]
 syslog
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.4.0-36-generic 
root=UUID=e57fe4e9-bd0e-44d2-9de7-554c95a2f67a ro quiet splash vt.handoff=7
RelatedPackageVersions:
 dpkg 1.18.4ubuntu1.1
 apt  1.2.12~ubuntu16.04.1
SourcePackage: mysql-5.7
Title: package mysql-server-5.7 5.7.15-0ubuntu0.16.04.1 failed to 
install/upgrade: subprocess installed post-installation script returned error 
exit status 1
UpgradeStatus: Upgraded to xenial on 2016-05-18 (119 days ago)

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


** Tags: apparmor apport-package i386 need-duplicate-check xenial

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

Title:
  package mysql-server-5.7 5.7.15-0ubuntu0.16.04.1 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/1623610/+subscriptions

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

Reply via email to