Public bug reported:

sudo apt-get install mysql-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libaio1 libdbd-mysql-perl libdbi-perl libmysqlclient18 libterm-readkey-perl
  mysql-client-5.6 mysql-client-core-5.6 mysql-common mysql-server-5.6
  mysql-server-core-5.6
Suggested packages:
  libmldbm-perl libnet-daemon-perl libsql-statement-perl mailx tinyca
The following NEW packages will be installed:
  libaio1 libdbd-mysql-perl libdbi-perl libmysqlclient18 libterm-readkey-perl
  mysql-client-5.6 mysql-client-core-5.6 mysql-common mysql-server
  mysql-server-5.6 mysql-server-core-5.6
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 21.0 MB of archives.
After this operation, 154 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://security.ubuntu.com/ubuntu/ wily-security/main mysql-common all 
5.6.28-0ubuntu0.15.10.1 [14.4 kB]
Get:2 http://archive.ubuntu.com/ubuntu/ wily/main libaio1 amd64 0.3.110-1 
[6,454 B]
Get:3 http://security.ubuntu.com/ubuntu/ wily-security/main libmysqlclient18 
amd64 5.6.28-0ubuntu0.15.10.1 [701 kB]
Get:4 http://archive.ubuntu.com/ubuntu/ wily/main libdbi-perl amd64 1.633-1 
[772 kB]
Get:5 http://security.ubuntu.com/ubuntu/ wily-security/main 
mysql-client-core-5.6 amd64 5.6.28-0ubuntu0.15.10.1 [3,927 kB]
Get:6 http://archive.ubuntu.com/ubuntu/ wily/main libdbd-mysql-perl amd64 
4.028-2 [88.6 kB]
Get:7 http://archive.ubuntu.com/ubuntu/ wily/main libterm-readkey-perl amd64 
2.33-1 [28.1 kB]
Get:8 http://security.ubuntu.com/ubuntu/ wily-security/main mysql-client-5.6 
amd64 5.6.28-0ubuntu0.15.10.1 [5,221 kB]
Get:9 http://security.ubuntu.com/ubuntu/ wily-security/main 
mysql-server-core-5.6 amd64 5.6.28-0ubuntu0.15.10.1 [4,629 kB]
Get:10 http://security.ubuntu.com/ubuntu/ wily-security/main mysql-server-5.6 
amd64 5.6.28-0ubuntu0.15.10.1 [5,585 kB]
Get:11 http://security.ubuntu.com/ubuntu/ wily-security/main mysql-server all 
5.6.28-0ubuntu0.15.10.1 [8,818 B]
Fetched 21.0 MB in 2min 6s (166 kB/s)                                          
E: Unable to mkstemp /tmp/mysql-server-5.6.template.7pdXf7 - ofstream::ofstream 
(2: No such file or directory)
E: Unable to mkstemp /tmp/mysql-server-5.6.config.UIvHbS - ofstream::ofstream 
(2: No such file or directory)
E: Prior errors apply to 
/var/cache/apt/archives/mysql-server_5.6.28-0ubuntu0.15.10.1_all.deb
debconf: apt-extracttemplates failed: No such file or directory
Selecting previously unselected package libaio1:amd64.
(Reading database ... 176668 files and directories currently installed.)
Preparing to unpack .../libaio1_0.3.110-1_amd64.deb ...
Unpacking libaio1:amd64 (0.3.110-1) ...
Selecting previously unselected package mysql-common.
Preparing to unpack .../mysql-common_5.6.28-0ubuntu0.15.10.1_all.deb ...
Unpacking mysql-common (5.6.28-0ubuntu0.15.10.1) ...
Selecting previously unselected package libmysqlclient18:amd64.
Preparing to unpack .../libmysqlclient18_5.6.28-0ubuntu0.15.10.1_amd64.deb ...
Unpacking libmysqlclient18:amd64 (5.6.28-0ubuntu0.15.10.1) ...
Selecting previously unselected package libdbi-perl.
Preparing to unpack .../libdbi-perl_1.633-1_amd64.deb ...
Unpacking libdbi-perl (1.633-1) ...
Selecting previously unselected package libdbd-mysql-perl.
Preparing to unpack .../libdbd-mysql-perl_4.028-2_amd64.deb ...
Unpacking libdbd-mysql-perl (4.028-2) ...
Selecting previously unselected package libterm-readkey-perl.
Preparing to unpack .../libterm-readkey-perl_2.33-1_amd64.deb ...
Unpacking libterm-readkey-perl (2.33-1) ...
Selecting previously unselected package mysql-client-core-5.6.
Preparing to unpack .../mysql-client-core-5.6_5.6.28-0ubuntu0.15.10.1_amd64.deb 
...
Unpacking mysql-client-core-5.6 (5.6.28-0ubuntu0.15.10.1) ...
Selecting previously unselected package mysql-client-5.6.
Preparing to unpack .../mysql-client-5.6_5.6.28-0ubuntu0.15.10.1_amd64.deb ...
Unpacking mysql-client-5.6 (5.6.28-0ubuntu0.15.10.1) ...
Selecting previously unselected package mysql-server-core-5.6.
Preparing to unpack .../mysql-server-core-5.6_5.6.28-0ubuntu0.15.10.1_amd64.deb 
...
Unpacking mysql-server-core-5.6 (5.6.28-0ubuntu0.15.10.1) ...
Processing triggers for man-db (2.7.4-1) ...
Setting up mysql-common (5.6.28-0ubuntu0.15.10.1) ...
Selecting previously unselected package mysql-server-5.6.
(Reading database ... 177035 files and directories currently installed.)
Preparing to unpack .../mysql-server-5.6_5.6.28-0ubuntu0.15.10.1_amd64.deb ...
invoke-rc.d: Unit mysql.service is masked
Unpacking mysql-server-5.6 (5.6.28-0ubuntu0.15.10.1) ...
Selecting previously unselected package mysql-server.
Preparing to unpack .../mysql-server_5.6.28-0ubuntu0.15.10.1_all.deb ...
Unpacking mysql-server (5.6.28-0ubuntu0.15.10.1) ...
Processing triggers for man-db (2.7.4-1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (225-1ubuntu9.1) ...
Setting up libaio1:amd64 (0.3.110-1) ...
Setting up libmysqlclient18:amd64 (5.6.28-0ubuntu0.15.10.1) ...
Setting up libdbi-perl (1.633-1) ...
Setting up libdbd-mysql-perl (4.028-2) ...
Setting up libterm-readkey-perl (2.33-1) ...
Setting up mysql-client-core-5.6 (5.6.28-0ubuntu0.15.10.1) ...
Setting up mysql-client-5.6 (5.6.28-0ubuntu0.15.10.1) ...
Setting up mysql-server-core-5.6 (5.6.28-0ubuntu0.15.10.1) ...
Setting up mysql-server-5.6 (5.6.28-0ubuntu0.15.10.1) ...
invoke-rc.d: Unit mysql.service is masked
update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf 
(my.cnf) in auto mode
mktemp: failed to create file via template ‘/tmp/tmp.XXXXXXXXXX’: No such file 
or directory
/var/lib/dpkg/info/mysql-server-5.6.postinst: line 129: $tfile_select_db: 
ambiguous redirect
rm: missing operand
Try 'rm --help' for more information.
mktemp: failed to create file via template ‘/tmp/tmp.XXXXXXXXXX’: No such file 
or directory
insserv: warning: script 'runmbbservice' missing LSB tags and overrides
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.
dpkg: error processing package mysql-server-5.6 (--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.6; however:
  Package mysql-server-5.6 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.21-0ubuntu4.1) ...
Errors were encountered while processing:
 mysql-server-5.6
 mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: Sub-process returned an error code

ProblemType: Package
DistroRelease: Ubuntu 15.10
Package: mysql-server-5.6 5.6.28-0ubuntu0.15.10.1
ProcVersionSignature: Ubuntu 4.2.0-34.39-generic 4.2.8-ckt4
Uname: Linux 4.2.0-34-generic x86_64
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
Date: Tue Apr  5 07:13:58 2016
ErrorMessage: subprocess installed post-installation script returned error exit 
status 1
InstallationDate: Installed on 2015-12-24 (102 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
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: ['mysql', 'ibdata1', 'ib_logfile1', 'assignment1', 
'assignment_2', 'ib_logfile0', 'auto.cnf', 'assignment5', 'assignment2', 
'debian-5.6.flag', 'assignment6']
ProcCmdline: BOOT_IMAGE=/boot/vmlinuz-4.2.0-34-generic.efi.signed 
root=UUID=0b17e108-9950-4edb-9119-32b777272882 ro quiet splash vt.handoff=7
RelatedPackageVersions:
 dpkg 1.18.2ubuntu5.1
 apt  1.0.10.2ubuntu1
SourcePackage: mysql-5.6
Title: package mysql-server-5.6 5.6.28-0ubuntu0.15.10.1 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.6 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package wily

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

Title:
  package mysql-server-5.6 5.6.28-0ubuntu0.15.10.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/1566097/+subscriptions

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

Reply via email to