[Bug 1400592] [NEW] package mysql-server-5.6 5.6.19-0ubuntu0.14.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Terry Moore 1400592 at bugs.launchpad.net
Tue Dec 9 05:41:34 UTC 2014


Public bug reported:

I did some work for a guy, building a DB up on the cloud.  The work was successful and after he didn't need the service any more, he asked me if he could get a copy of the data.  I looked and about all I could do was create a 5.6 server locally and then push the data to it from the cloud server.  I've never been able to get the MySQL 5.6 server to load properly.  The guy has been very patient for the last six months.  And my cloud contract will be running out in March 2015.  I thought for sure Ubuntu would be able to get it loaded before now.  Obviously, I'm wrong and I should have been taking a closer look all this time.  
  Here is a screen capture of when I tried loading it just now.  Can you advise me where I might look to find what I'm doing wrong?
Thank You!
  
$ lsb_release -rd
Description:	Ubuntu 14.04.1 LTS
Release:	14.04

$ apt-cache policy mysql-server-5.6
mysql-server-5.6:
  Installed: 5.6.19-0ubuntu0.14.04.1
  Candidate: 5.6.19-0ubuntu0.14.04.1
  Version table:
 *** 5.6.19-0ubuntu0.14.04.1 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe amd64 Packages
        500 http://security.ubuntu.com/ubuntu/ trusty-security/universe amd64 Packages
        100 /var/lib/dpkg/status
     5.6.16-1~exp1 0
        500 http://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages

Could this be a 64 bit vs 32 bit issue?
I saw an error go by about a script that did not have a variable set before it was used.  

$ sudo apt-get upgrade mysql-server-5.6
[sudo] password for tlm: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
mysql-server-5.6 is already the newest version.
The following packages have been kept back:
  gnuplot-nox gnuplot-x11
The following packages will be upgraded:
  compiz compiz-core compiz-gnome compiz-plugins compiz-plugins-default
  compiz-plugins-main-default compizconfig-backend-gconf
  compizconfig-settings-manager libcompizconfig0 libdecoration0
  libunity-2d-private0 libunity-core-6.0-9 python-compizconfig unity unity-2d
  unity-2d-common unity-2d-panel unity-2d-shell unity-2d-spread unity-services
20 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
Need to get 5,863 kB of archives.
After this operation, 102 kB of additional disk space will be used.
Do you want to continue? [Y/n]  y
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libcompizconfig0 amd64 1:0.9.11.3+14.04.20141104-0ubuntu1 [117 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main compiz-gnome amd64 1:0.9.11.3+14.04.20141104-0ubuntu1 [155 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe compiz-plugins amd64 1:0.9.11.3+14.04.20141104-0ubuntu1 [1,878 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main compiz-plugins-default amd64 1:0.9.11.3+14.04.20141104-0ubuntu1 [766 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libdecoration0 amd64 1:0.9.11.3+14.04.20141104-0ubuntu1 [49.2 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main compiz-core amd64 1:0.9.11.3+14.04.20141104-0ubuntu1 [296 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main compiz all 1:0.9.11.3+14.04.20141104-0ubuntu1 [4,048 B]
Get:8 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main unity amd64 7.2.3+14.04.20140826-0ubuntu1 [1,479 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main libunity-core-6.0-9 amd64 7.2.3+14.04.20140826-0ubuntu1 [432 kB]
Get:10 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/main unity-services amd64 7.2.3+14.04.20140826-0ubuntu1 [31.0 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe libunity-2d-private0 all 7.2.3+14.04.20140826-0ubuntu1 [6,206 B]
Get:12 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe unity-2d all 7.2.3+14.04.20140826-0ubuntu1 [6,184 B]
Get:13 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe unity-2d-common all 7.2.3+14.04.20140826-0ubuntu1 [6,192 B]
Get:14 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe unity-2d-panel all 7.2.3+14.04.20140826-0ubuntu1 [6,194 B]
Get:15 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe unity-2d-shell all 7.2.3+14.04.20140826-0ubuntu1 [6,194 B]
Get:16 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe unity-2d-spread all 7.2.3+14.04.20140826-0ubuntu1 [6,198 B]
Get:17 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe compiz-plugins-main-default all 1:0.9.11.3+14.04.20141104-0ubuntu1 [3,436 B]
Get:18 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe compizconfig-backend-gconf all 1:0.9.11.3+14.04.20141104-0ubuntu1 [6,010 B]
Get:19 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe python-compizconfig amd64 1:0.9.11.3+14.04.20141104-0ubuntu1 [36.9 kB]
Get:20 http://us.archive.ubuntu.com/ubuntu/ trusty-updates/universe compizconfig-settings-manager all 1:0.9.11.3+14.04.20141104-0ubuntu1 [574 kB]
Fetched 5,863 kB in 38s (152 kB/s)                                             
(Reading database ... 1376556 files and directories currently installed.)
Preparing to unpack .../libcompizconfig0_1%3a0.9.11.3+14.04.20141104-0ubuntu1_amd64.deb ...
Unpacking libcompizconfig0 (1:0.9.11.3+14.04.20141104-0ubuntu1) over (1:0.9.11.2+14.04.20140714-0ubuntu1) ...
Preparing to unpack .../compiz-gnome_1%3a0.9.11.3+14.04.20141104-0ubuntu1_amd64.deb ...
Unpacking compiz-gnome (1:0.9.11.3+14.04.20141104-0ubuntu1) over (1:0.9.11.2+14.04.20140714-0ubuntu1) ...
Preparing to unpack .../compiz-plugins_1%3a0.9.11.3+14.04.20141104-0ubuntu1_amd64.deb ...
Unpacking compiz-plugins (1:0.9.11.3+14.04.20141104-0ubuntu1) over (1:0.9.11.2+14.04.20140714-0ubuntu1) ...
Preparing to unpack .../compiz-plugins-default_1%3a0.9.11.3+14.04.20141104-0ubuntu1_amd64.deb ...
Unpacking compiz-plugins-default (1:0.9.11.3+14.04.20141104-0ubuntu1) over (1:0.9.11.2+14.04.20140714-0ubuntu1) ...
Preparing to unpack .../libdecoration0_1%3a0.9.11.3+14.04.20141104-0ubuntu1_amd64.deb ...
Unpacking libdecoration0 (1:0.9.11.3+14.04.20141104-0ubuntu1) over (1:0.9.11.2+14.04.20140714-0ubuntu1) ...
Preparing to unpack .../compiz-core_1%3a0.9.11.3+14.04.20141104-0ubuntu1_amd64.deb ...
Unpacking compiz-core (1:0.9.11.3+14.04.20141104-0ubuntu1) over (1:0.9.11.2+14.04.20140714-0ubuntu1) ...
Preparing to unpack .../compiz_1%3a0.9.11.3+14.04.20141104-0ubuntu1_all.deb ...
Unpacking compiz (1:0.9.11.3+14.04.20141104-0ubuntu1) over (1:0.9.11.2+14.04.20140714-0ubuntu1) ...
Preparing to unpack .../unity_7.2.3+14.04.20140826-0ubuntu1_amd64.deb ...
Unpacking unity (7.2.3+14.04.20140826-0ubuntu1) over (7.2.2+14.04.20140714-0ubuntu1.1) ...
Preparing to unpack .../libunity-core-6.0-9_7.2.3+14.04.20140826-0ubuntu1_amd64.deb ...
Unpacking libunity-core-6.0-9 (7.2.3+14.04.20140826-0ubuntu1) over (7.2.2+14.04.20140714-0ubuntu1.1) ...
Preparing to unpack .../unity-services_7.2.3+14.04.20140826-0ubuntu1_amd64.deb ...
Unpacking unity-services (7.2.3+14.04.20140826-0ubuntu1) over (7.2.2+14.04.20140714-0ubuntu1.1) ...
Preparing to unpack .../libunity-2d-private0_7.2.3+14.04.20140826-0ubuntu1_all.deb ...
Unpacking libunity-2d-private0 (7.2.3+14.04.20140826-0ubuntu1) over (7.2.2+14.04.20140714-0ubuntu1.1) ...
Preparing to unpack .../unity-2d_7.2.3+14.04.20140826-0ubuntu1_all.deb ...
Unpacking unity-2d (7.2.3+14.04.20140826-0ubuntu1) over (7.2.2+14.04.20140714-0ubuntu1.1) ...
Preparing to unpack .../unity-2d-common_7.2.3+14.04.20140826-0ubuntu1_all.deb ...
Unpacking unity-2d-common (7.2.3+14.04.20140826-0ubuntu1) over (7.2.2+14.04.20140714-0ubuntu1.1) ...
Preparing to unpack .../unity-2d-panel_7.2.3+14.04.20140826-0ubuntu1_all.deb ...
Unpacking unity-2d-panel (7.2.3+14.04.20140826-0ubuntu1) over (7.2.2+14.04.20140714-0ubuntu1.1) ...
Preparing to unpack .../unity-2d-shell_7.2.3+14.04.20140826-0ubuntu1_all.deb ...
Unpacking unity-2d-shell (7.2.3+14.04.20140826-0ubuntu1) over (7.2.2+14.04.20140714-0ubuntu1.1) ...
Preparing to unpack .../unity-2d-spread_7.2.3+14.04.20140826-0ubuntu1_all.deb ...
Unpacking unity-2d-spread (7.2.3+14.04.20140826-0ubuntu1) over (7.2.2+14.04.20140714-0ubuntu1.1) ...
Preparing to unpack .../compiz-plugins-main-default_1%3a0.9.11.3+14.04.20141104-0ubuntu1_all.deb ...
Unpacking compiz-plugins-main-default (1:0.9.11.3+14.04.20141104-0ubuntu1) over (1:0.9.11.2+14.04.20140714-0ubuntu1) ...
Preparing to unpack .../compizconfig-backend-gconf_1%3a0.9.11.3+14.04.20141104-0ubuntu1_all.deb ...
Unpacking compizconfig-backend-gconf (1:0.9.11.3+14.04.20141104-0ubuntu1) over (1:0.9.11.2+14.04.20140714-0ubuntu1) ...
Preparing to unpack .../python-compizconfig_1%3a0.9.11.3+14.04.20141104-0ubuntu1_amd64.deb ...
Unpacking python-compizconfig (1:0.9.11.3+14.04.20141104-0ubuntu1) over (1:0.9.11.2+14.04.20140714-0ubuntu1) ...
Preparing to unpack .../compizconfig-settings-manager_1%3a0.9.11.3+14.04.20141104-0ubuntu1_all.deb ...
Unpacking compizconfig-settings-manager (1:0.9.11.3+14.04.20141104-0ubuntu1) over (1:0.9.11.2+14.04.20140714-0ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.40.2-0ubuntu1) ...
Processing triggers for libglib2.0-0:i386 (2.40.2-0ubuntu1) ...
Processing triggers for gconf2 (3.2.6-0ubuntu2) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.04.20140409-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.22-1ubuntu1) ...
Processing triggers for mime-support (3.54ubuntu1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Setting up mysql-server-5.6 (5.6.19-0ubuntu0.14.04.1) ...
2014-12-08 22:18:33 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2014-12-08 22:18:33 11690 [Note] Plugin 'FEDERATED' is disabled.
2014-12-08 22:18:33 11690 [Note] InnoDB: Using atomics to ref count buffer pool pages
2014-12-08 22:18:33 11690 [Note] InnoDB: The InnoDB memory heap is disabled
2014-12-08 22:18:33 11690 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2014-12-08 22:18:33 11690 [Note] InnoDB: Compressed tables use zlib 1.2.8
2014-12-08 22:18:33 11690 [Note] InnoDB: Using Linux native AIO
2014-12-08 22:18:33 11690 [Note] InnoDB: Using CPU crc32 instructions
2014-12-08 22:18:33 11690 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2014-12-08 22:18:33 11690 [Note] InnoDB: Completed initialization of buffer pool
2014-12-08 22:18:33 11690 [Note] InnoDB: Highest supported file format is Barracuda.
2014-12-08 22:18:33 11690 [Note] InnoDB: 128 rollback segment(s) are active.
2014-12-08 22:18:33 11690 [Note] InnoDB: Waiting for purge to start
2014-12-08 22:18:33 11690 [Note] InnoDB: 5.6.19 started; log sequence number 1628771
2014-12-08 22:18:33 11690 [Note] Binlog end
2014-12-08 22:18:33 11690 [Note] InnoDB: FTS optimize thread exiting.
2014-12-08 22:18:33 11690 [Note] InnoDB: Starting shutdown...
2014-12-08 22:18:35 11690 [Note] InnoDB: Shutdown completed; log sequence number 1628781
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing package mysql-server-5.6 (--configure):
 subprocess installed post-installation script returned error exit status 1
Setting up compiz-core (1:0.9.11.3+14.04.20141104-0ubuntu1) ...
Setting up libcompizconfig0 (1:0.9.11.3+14.04.20141104-0ubuntu1) ...
Setting up libdecoration0 (1:0.9.11.3+14.04.20141104-0ubuntu1) ...
Setting up compiz-plugins-default (1:0.9.11.3+14.04.20141104-0ubuntu1) ...
Setting up compiz-gnome (1:0.9.11.3+14.04.20141104-0ubuntu1) ...
Setting up compiz-plugins (1:0.9.11.3+14.04.20141104-0ubuntu1) ...
Setting up compiz (1:0.9.11.3+14.04.20141104-0ubuntu1) ...
Setting up unity-services (7.2.3+14.04.20140826-0ubuntu1) ...
Setting up libunity-core-6.0-9 (7.2.3+14.04.20140826-0ubuntu1) ...
Setting up unity (7.2.3+14.04.20140826-0ubuntu1) ...
Setting up libunity-2d-private0 (7.2.3+14.04.20140826-0ubuntu1) ...
Setting up unity-2d (7.2.3+14.04.20140826-0ubuntu1) ...
Setting up unity-2d-common (7.2.3+14.04.20140826-0ubuntu1) ...
Setting up unity-2d-panel (7.2.3+14.04.20140826-0ubuntu1) ...
Setting up unity-2d-shell (7.2.3+14.04.20140826-0ubuntu1) ...
Setting up unity-2d-spread (7.2.3+14.04.20140826-0ubuntu1) ...
Setting up compiz-plugins-main-default (1:0.9.11.3+14.04.20141104-0ubuntu1) ...
Setting up compizconfig-backend-gconf (1:0.9.11.3+14.04.20141104-0ubuntu1) ...
Setting up python-compizconfig (1:0.9.11.3+14.04.20141104-0ubuntu1) ...
Setting up compizconfig-settings-manager (1:0.9.11.3+14.04.20141104-0ubuntu1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.4) ...
Errors were encountered while processing:
 mysql-server-5.6
E: Sub-process /usr/bin/dpkg returned an error code (1)
$ 

$ grep audit /var/log/kern.log |more
Dec  7 20:29:51 sariah kernel: [46567.454139] type=1400 audit(1418009391.731:74): apparmor="DENIED" operation="file_mmap" profile="/usr/bin/evince//sanitized_helper" name="/tmp/gl3upQQ3" pid=12140 comm="firefox" requested_mask="m" denied_mask="m" fsuid=1000 ouid=1000
Dec  7 20:29:51 sariah kernel: [46567.454147] type=1400 audit(1418009391.731:75): apparmor="DENIED" operation="file_mmap" profile="/usr/bin/evince//sanitized_helper" name="/tmp/gl3upQQ3" pid=12140 comm="firefox" requested_mask="m" denied_mask="m" fsuid=1000 ouid=1000
Dec  7 20:29:51 sariah kernel: [46567.454191] type=1400 audit(1418009391.731:76): apparmor="DENIED" operation="file_mmap" profile="/usr/bin/evince//sanitized_helper" name="/home/terry/.nv/glDjLlc6" pid=12140 comm="firefox" requested_mask="m" denied_mask="m" fsuid=1000 ouid=1000
Dec  7 20:29:51 sariah kernel: [46567.454196] type=1400 audit(1418009391.731:77): apparmor="DENIED" operation="file_mmap" profile="/usr/bin/evince//sanitized_helper" name="/home/terry/.nv/glDjLlc6" pid=12140 comm="firefox" requested_mask="m" denied_mask="m" fsuid=1000 ouid=1000
Dec  7 21:14:54 sariah kernel: [49269.266304] type=1400 audit(1418012094.454:78): apparmor="DENIED" operation="file_mmap" profile="/usr/bin/evince//sanitized_helper" name="/tmp/glnAkTQV" pid=12639 comm="firefox" requested_mask="m" denied_mask="m" fsuid=1000 ouid=1000
Dec  7 21:14:54 sariah kernel: [49269.266312] type=1400 audit(1418012094.454:79): apparmor="DENIED" operation="file_mmap" profile="/usr/bin/evince//sanitized_helper" name="/tmp/glnAkTQV" pid=12639 comm="firefox" requested_mask="m" denied_mask="m" fsuid=1000 ouid=1000
Dec  7 21:14:54 sariah kernel: [49269.266354] type=1400 audit(1418012094.454:80): apparmor="DENIED" operation="file_mmap" profile="/usr/bin/evince//sanitized_helper" name="/home/terry/.nv/glQhO678" pid=12639 comm="firefox" requested_mask="m" denied_mask="m" fsuid=1000 ouid=1000
Dec  7 21:14:54 sariah kernel: [49269.266358] type=1400 audit(1418012094.454:81): apparmor="DENIED" operation="file_mmap" profile="/usr/bin/evince//sanitized_helper" name="/home/terry/.nv/glQhO678" pid=12639 comm="firefox" requested_mask="m" denied_mask="m" fsuid=1000 ouid=1000
Dec  7 21:24:36 sariah kernel: [49850.667606] type=1400 audit(1418012676.050:82): apparmor="DENIED" operation="file_mmap" profile="/usr/bin/evince//sanitized_helper" name="/tmp/gloMBsuN" pid=12730 comm="firefox" requested_mask="m" denied_mask="m" fsuid=1000 ouid=1000
Dec  7 21:24:36 sariah kernel: [49850.667615] type=1400 audit(1418012676.050:83): apparmor="DENIED" operation="file_mmap" profile="/usr/bin/evince//sanitized_helper" name="/tmp/gloMBsuN" pid=12730 comm="firefox" requested_mask="m" denied_mask="m" fsuid=1000 ouid=1000
Dec  7 21:24:36 sariah kernel: [49850.667675] type=1400 audit(1418012676.050:84): apparmor="DENIED" operation="file_mmap" profile="/usr/bin/evince//sanitized_helper" name="/home/terry/.nv/glRgpown" pid=12730 comm="firefox" requested_mask="m" denied_mask="m" fsuid=1000 ouid=1000
Dec  7 21:24:36 sariah kernel: [49850.667683] type=1400 audit(1418012676.050:85): apparmor="DENIED" operation="file_mmap" profile="/usr/bin/evince//sanitized_helper" name="/home/terry/.nv/glRgpown" pid=12730 comm="firefox" requested_mask="m" denied_mask="m" fsuid=1000 ouid=1000
Dec  8 09:01:16 sariah kernel: [    0.685898] audit: initializing netlink socket (disabled)
Dec  8 09:01:16 sariah kernel: [    0.685907] type=2000 audit(1418054453.576:1): initialized
Dec  8 09:01:16 sariah kernel: [   22.445036] type=1400 audit(1418054476.190:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=689 comm="apparmor_parser"
Dec  8 09:01:16 sariah kernel: [   22.445042] type=1400 audit(1418054476.190:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/cupsd" pid=689 comm="apparmor_parser"
Dec  8 09:01:16 sariah kernel: [   22.445416] type=1400 audit(1418054476.190:4): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=689 comm="apparmor_parser"
Dec  8 09:01:16 sariah kernel: [   22.616858] type=1400 audit(1418054476.362:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/sbin/dhclient" pid=868 comm="apparmor_parser"
Dec  8 09:01:16 sariah kernel: [   22.616866] type=1400 audit(1418054476.362:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=868 comm="apparmor_parser"
Dec  8 09:01:16 sariah kernel: [   22.616871] type=1400 audit(1418054476.362:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=868 comm="apparmor_parser"
Dec  8 09:01:16 sariah kernel: [   22.617406] type=1400 audit(1418054476.362:8): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=868 comm="apparmor_parser"
Dec  8 09:01:16 sariah kernel: [   22.617412] type=1400 audit(1418054476.362:9): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=868 comm="apparmor_parser"
Dec  8 09:01:16 sariah kernel: [   22.617715] type=1400 audit(1418054476.366:10): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=868 comm="apparmor_parser"
Dec  8 09:01:17 sariah kernel: [   23.586896] type=1400 audit(1418054477.334:11): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/sbin/dhclient" pid=1197 comm="apparmor_parser"
Dec  8 09:01:35 sariah kernel: [   40.288479] audit_printk_skb: 162 callbacks suppressed
Dec  8 09:01:35 sariah kernel: [   40.288482] type=1400 audit(1418054495.405:66): apparmor="DENIED" operation="mkdir" profile="/usr/lib/telepathy/mission-control-5" name="/var/lib/gdm/.config/libaccounts-glib/" pid=2656 comm="mission-control" requested_mask="c" denied_mask="c" fsuid=115 ouid
=115
Dec  8 09:01:35 sariah kernel: [   40.289602] type=1400 audit(1418054495.405:67): apparmor="DENIED" operation="open" profile="/usr/lib/telepathy/mission-control-5" name="/etc/dconf/profile/gdm" pid=2656 comm="mission-control" requested_mask="r" denied_mask="r" fsuid=115 ouid=0
Dec  8 09:01:47 sariah kernel: [   52.497890] type=1400 audit(1418054507.617:68): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=2782 comm="apparmor_parser"
Dec  8 09:01:47 sariah kernel: [   52.497897] type=1400 audit(1418054507.617:69): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=2782 comm="apparmor_parser"
Dec  8 09:01:47 sariah kernel: [   52.498284] type=1400 audit(1418054507.617:70): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=2782 comm="apparmor_parser"
Dec  8 09:16:32 sariah kernel: [  937.520905] type=1400 audit(1418055392.941:71): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/lib/cups/backend/cups-pdf" pid=4098 comm="apparmor_parser"
Dec  8 09:16:32 sariah kernel: [  937.520912] type=1400 audit(1418055392.941:72): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=4098 comm="apparmor_parser"
Dec  8 09:16:32 sariah kernel: [  937.521411] type=1400 audit(1418055392.941:73): apparmor="STATUS" operation="profile_replace" profile="unconfined" name="/usr/sbin/cupsd" pid=4098 comm="apparmor_parser"
$  

$ ls -l /etc/apparmor.d/usr.sbin.mysqld
-rw-r--r-- 1 root root 1048 Jul 23  2013 /etc/apparmor.d/usr.sbin.mysqld
$ cat  /etc/apparmor.d/usr.sbin.mysqld 
# vim:syntax=apparmor
# Last Modified: Tue Jun 19 17:37:30 2007
#include <tunables/global>

/usr/sbin/mysqld {
  #include <abstractions/base>
  #include <abstractions/nameservice>
  #include <abstractions/user-tmp>
  #include <abstractions/mysql>
  #include <abstractions/winbind>

  capability dac_override,
  capability sys_resource,
  capability setgid,
  capability setuid,

  network tcp,

  /etc/hosts.allow r,
  /etc/hosts.deny r,

  /etc/mysql/*.pem r,
  /etc/mysql/conf.d/ r,
  /etc/mysql/conf.d/* r,
  /etc/mysql/*.cnf r,
  /usr/lib/mysql/plugin/ r,
  /usr/lib/mysql/plugin/*.so* mr,
  /usr/sbin/mysqld mr,
  /usr/share/mysql/** r,
  /var/log/mysql.log rw,
  /var/log/mysql.err rw,
  /var/lib/mysql/ r,
  /var/lib/mysql/** rwk,
  /var/log/mysql/ r,
  /var/log/mysql/* rw,
  /var/run/mysqld/mysqld.pid rw,
  /var/run/mysqld/mysqld.sock w,
  /run/mysqld/mysqld.pid rw,
  /run/mysqld/mysqld.sock w,

  /sys/devices/system/cpu/ r,

  # Site-specific additions and overrides. See local/README for details.
  #include <local/usr.sbin.mysqld>
}
$ 

$ ls -l /etc/apparmor.d/abstractions/mysqld
ls: cannot access /etc/apparmor.d/abstractions/mysqld: No such file or directory
$ 

$ ls -l /etc/apparmor.d/usr.sbin.mysqld*
-rw-r--r-- 1 root root 1048 Jul 23  2013 /etc/apparmor.d/usr.sbin.mysqld
-rw-r--r-- 1 root root  684 Jan 24  2012 /etc/apparmor.d/usr.sbin.mysqld-akonadi
$ 

$ cat /etc/mysql/my.cnf
cat: /etc/mysql/my.cnf: No such file or directory
$ ls -l /etc/mysql/conf.d
total 4
-rw-r--r-- 1 root root 375 Jul 21 04:55 my5.6.cnf
$ cat /etc/mysql/conf.d/my5.6.cnf
#
# The MySQL 5.6 database server configuration file.
#
# This custom MySQL 5.6 specific configuration file
# adds on top of the existing default my.cnf file at
# - /etc/mysql/my.cnf.
# 
# Please add any extra MySQL 5.6 options in this file
# for sake of clarity.
#
# You may uncomment any existing option to enable it
#
# sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES
$ 

$ sudo ls -l /var/lib/mysql
[sudo] password for tlm: 
total 116768
-rw-rw---- 1 mysql mysql       56 Sep 30 22:16 auto.cnf
-rw-r--r-- 1 mysql mysql        0 Sep 30 21:57 debian-5.5.flag
-rw-r--r-- 1 mysql root         0 Dec  8 22:18 debian-5.6.flag
-rw-rw---- 1 mysql mysql 18874368 Dec  8 22:18 ibdata1
-rw-rw---- 1 mysql mysql 50331648 Dec  8 22:18 ib_logfile0
-rw-rw---- 1 mysql mysql 50331648 Sep 30 22:12 ib_logfile1
drwx------ 2 mysql mysql     4096 Sep 30 22:12 mysql
drwx------ 2 mysql mysql     4096 Dec  8 22:18 performance_schema
-rw-r----- 1 mysql mysql     9129 Sep 30 23:13 sariah.err
$

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: mysql-server-5.6 5.6.19-0ubuntu0.14.04.1
ProcVersionSignature: Ubuntu 3.13.0-40.69-generic 3.13.11.10
Uname: Linux 3.13.0-40-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.1-0ubuntu3.6
AptOrdering:
 libjasper1: Install
 libjasper1: Install
 mysql-server-5.6: Configure
 libjasper1: Configure
 libjasper1: Configure
Architecture: amd64
Date: Mon Dec  8 22:06:07 2014
DuplicateSignature: package:mysql-server-5.6:5.6.19-0ubuntu0.14.04.1:subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2012-06-22 (899 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: mysql-5.6
Title: package mysql-server-5.6 5.6.19-0ubuntu0.14.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: Upgraded to trusty on 2014-08-19 (111 days ago)
modified.conffile..etc.mysql.conf.d.mysqld.safe.syslog.cnf: [deleted]
modified.conffile..etc.mysql.debian.start: [deleted]

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


** Tags: amd64 apport-package trusty

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mysql-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1400592

Title:
  package mysql-server-5.6 5.6.19-0ubuntu0.14.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.6/+bug/1400592/+subscriptions



More information about the Ubuntu-server-bugs mailing list