Trying to install mariadb-server, and at the very end of the install it gives the error saying that the mariadb-server post install script depends on mariadb-server-10.1 and mariadb-server-10.1 isn't configured yet. Using sudo apt install mariadb-server from a user terminal in the X session.

Bug #1636002 reported by Christopher Morrow
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Output from the command:
topher@ubuntop:~$ sudo apt install mariadb-server
[sudo] password for topher:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  libdbd-mysql-perl libmariadbclient18 libmysqlclient18 libmysqlclient20
  mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common
  mariadb-server-10.1 mariadb-server-core-10.1 mysql-common
Suggested packages:
  libterm-readkey-perl mailx mariadb-test tinyca
The following NEW packages will be installed:
  libdbd-mysql-perl libmariadbclient18 libmysqlclient18 libmysqlclient20
  mariadb-client-10.1 mariadb-client-core-10.1 mariadb-common mariadb-server
  mariadb-server-10.1 mariadb-server-core-10.1 mysql-common
0 upgraded, 11 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/14.1 MB of archives.
After this operation, 144 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 ... 260447 files and directories currently installed.)
Preparing to unpack .../0-mysql-common_10.1.18+maria-1~xenial_all.deb ...
Unpacking mysql-common (10.1.18+maria-1~xenial) ...
Selecting previously unselected package mariadb-common.
Preparing to unpack .../1-mariadb-common_10.1.18+maria-1~xenial_all.deb ...
Unpacking mariadb-common (10.1.18+maria-1~xenial) ...
Selecting previously unselected package libmysqlclient20:amd64.
Preparing to unpack .../2-libmysqlclient20_5.7.15-0ubuntu2_amd64.deb ...
Unpacking libmysqlclient20:amd64 (5.7.15-0ubuntu2) ...
Selecting previously unselected package libdbd-mysql-perl.
Preparing to unpack .../3-libdbd-mysql-perl_4.035-1ubuntu0.1_amd64.deb ...
Unpacking libdbd-mysql-perl (4.035-1ubuntu0.1) ...
Selecting previously unselected package libmysqlclient18.
Preparing to unpack .../4-libmysqlclient18_10.1.18+maria-1~xenial_amd64.deb ...
Unpacking libmysqlclient18 (10.1.18+maria-1~xenial) ...
Selecting previously unselected package libmariadbclient18.
Preparing to unpack .../5-libmariadbclient18_10.1.18+maria-1~xenial_amd64.deb ...
Unpacking libmariadbclient18 (10.1.18+maria-1~xenial) ...
Selecting previously unselected package mariadb-client-core-10.1.
Preparing to unpack .../6-mariadb-client-core-10.1_10.1.18+maria-1~xenial_amd64.deb ...
Unpacking mariadb-client-core-10.1 (10.1.18+maria-1~xenial) ...
Selecting previously unselected package mariadb-client-10.1.
Preparing to unpack .../7-mariadb-client-10.1_10.1.18+maria-1~xenial_amd64.deb ...
Unpacking mariadb-client-10.1 (10.1.18+maria-1~xenial) ...
Selecting previously unselected package mariadb-server-core-10.1.
Preparing to unpack .../8-mariadb-server-core-10.1_10.1.18+maria-1~xenial_amd64.deb ...
Unpacking mariadb-server-core-10.1 (10.1.18+maria-1~xenial) ...
Setting up mysql-common (10.1.18+maria-1~xenial) ...
Setting up mariadb-common (10.1.18+maria-1~xenial) ...
Selecting previously unselected package mariadb-server-10.1.
(Reading database ... 260614 files and directories currently installed.)
Preparing to unpack .../0-mariadb-server-10.1_10.1.18+maria-1~xenial_amd64.deb ...
Unpacking mariadb-server-10.1 (10.1.18+maria-1~xenial) ...
Selecting previously unselected package mariadb-server.
Preparing to unpack .../1-mariadb-server_10.1.18+maria-1~xenial_all.deb ...
Unpacking mariadb-server (10.1.18+maria-1~xenial) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for libc-bin (2.24-3ubuntu1) ...
Processing triggers for systemd (231-9git1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libmysqlclient20:amd64 (5.7.15-0ubuntu2) ...
Setting up libdbd-mysql-perl (4.035-1ubuntu0.1) ...
Setting up libmysqlclient18 (10.1.18+maria-1~xenial) ...
Setting up libmariadbclient18 (10.1.18+maria-1~xenial) ...
Setting up mariadb-server-core-10.1 (10.1.18+maria-1~xenial) ...
Setting up mariadb-client-core-10.1 (10.1.18+maria-1~xenial) ...
Setting up mariadb-client-10.1 (10.1.18+maria-1~xenial) ...
Setting up mariadb-server-10.1 (10.1.18+maria-1~xenial) ...
2016-10-23 14:10:57 139648982718656 [Note] /usr/sbin/mysqld (mysqld 10.1.18-MariaDB-1~xenial) starting as process 5912 ...
2016-10-23 14:10:57 139648982718656 [Note] InnoDB: Using mutexes to ref count buffer pool pages
2016-10-23 14:10:57 139648982718656 [Note] InnoDB: The InnoDB memory heap is disabled
2016-10-23 14:10:57 139648982718656 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2016-10-23 14:10:57 139648982718656 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2016-10-23 14:10:57 139648982718656 [Note] InnoDB: Compressed tables use zlib 1.2.8
2016-10-23 14:10:57 139648982718656 [Note] InnoDB: Using Linux native AIO
2016-10-23 14:10:57 139648982718656 [Note] InnoDB: Using SSE crc32 instructions
2016-10-23 14:10:57 139648982718656 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2016-10-23 14:10:57 139648982718656 [Note] InnoDB: Completed initialization of buffer pool
2016-10-23 14:10:57 139648982718656 [Note] InnoDB: Highest supported file format is Barracuda.
2016-10-23 14:10:57 139648982718656 [Note] InnoDB: 128 rollback segment(s) are active.
2016-10-23 14:10:57 139648982718656 [Note] InnoDB: Waiting for purge to start
2016-10-23 14:10:57 139648982718656 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.32-78.1 started; log sequence number 1616819
2016-10-23 14:10:57 139648261129984 [Note] InnoDB: Dumping buffer pool(s) not yet started
2016-10-23 14:10:57 139648982718656 [Note] Plugin 'FEEDBACK' is disabled.
Job for mariadb.service failed because the control process exited with error code.
See "systemctl status mariadb.service" and "journalctl -xe" for details.
invoke-rc.d: initscript mysql, action "start" failed.
● mariadb.service - MariaDB database server
   Loaded: loaded (/lib/systemd/system/mariadb.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/mariadb.service.d
           └─migrated-from-my.cnf-settings.conf
   Active: failed (Result: exit-code) since Sun 2016-10-23 14:11:06 EDT; 13ms ago
  Process: 6076 ExecStartPost=/etc/mysql/debian-start (code=exited, status=203/EXEC)
  Process: 6049 ExecStart=/usr/sbin/mysqld $MYSQLD_OPTS $_WSREP_NEW_CLUSTER $_WSREP_START_POSITION (code=exited, status=0/SUCCESS)
  Process: 6038 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] && VAR= || VAR=`/usr/bin/galera_recovery`; [ $? -eq 0 ] && systemctl set-environment _WSREP_START_POSITION=$VAR || exit 1 (code=exited, status=0/SUCCESS)
  Process: 6033 ExecStartPre=/bin/sh -c systemctl unset-environment _WSREP_START_POSITION (code=exited, status=0/SUCCESS)
  Process: 6031 ExecStartPre=/usr/bin/install -m 755 -o mysql -g root -d /var/run/mysqld (code=exited, status=0/SUCCESS)
 Main PID: 6049 (code=exited, status=0/SUCCESS)
   Status: "MariaDB server is down"

Oct 23 14:11:04 ubuntop systemd[1]: mariadb.service: Control process exited...03
Oct 23 14:11:04 ubuntop mysqld[6049]: 2016-10-23 14:11:04 139860316871424 [...wn
Oct 23 14:11:04 ubuntop mysqld[6049]: 2016-10-23 14:11:04 139860316871424 [...ts
Oct 23 14:11:04 ubuntop mysqld[6049]: 2016-10-23 14:11:04 139859586934528 [...g.
Oct 23 14:11:04 ubuntop mysqld[6049]: 2016-10-23 14:11:04 139860316871424 [.....
Oct 23 14:11:06 ubuntop mysqld[6049]: 2016-10-23 14:11:06 139860316871424 [...49
Oct 23 14:11:06 ubuntop mysqld[6049]: 2016-10-23 14:11:06 139860316871424 [...te
Oct 23 14:11:06 ubuntop systemd[1]: Failed to start MariaDB database server.
Oct 23 14:11:06 ubuntop systemd[1]: mariadb.service: Unit entered failed state.
Oct 23 14:11:06 ubuntop systemd[1]: mariadb.service: Failed with result 'ex...'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package mariadb-server-10.1 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mariadb-server:
 mariadb-server depends on mariadb-server-10.1 (= 10.1.18+maria-1~xenial); however:
  Package mariadb-server-10.1 is not configured yet.

dpkg: error processing package mariadb-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.24-3ubuntu1) ...
Errors were encountered while processing:
 mariadb-server-10.1
 mariadb-server
E: Sub-process /usr/bin/dpkg returned an error code (1)

ProblemType: Package
DistroRelease: Ubuntu 16.10
Package: linux-signed-image-4.8.0-26-generic 4.8.0-26.28
ProcVersionSignature: Ubuntu 4.8.0-22.24-generic 4.8.0
Uname: Linux 4.8.0-22-generic x86_64
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
Date: Sun Oct 23 10:30:45 2016
DuplicateSignature:
 package:linux-signed-image-4.8.0-26-generic:4.8.0-26.28
 Setting up linux-signed-image-4.8.0-26-generic (4.8.0-26.28) ...
 cp: error writing '/boot/vmlinuz-4.8.0-26-generic.efi.signed': No space left on device
 dpkg: error processing package linux-signed-image-4.8.0-26-generic (--configure):
  subprocess installed post-installation script returned error exit status 1
ErrorMessage: subprocess installed post-installation script returned error exit status 1
InstallationDate: Installed on 2016-10-15 (7 days ago)
InstallationMedia: Ubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
RelatedPackageVersions:
 dpkg 1.18.10ubuntu1
 apt 1.3.1
SourcePackage: linux-signed
Title: package linux-signed-image-4.8.0-26-generic 4.8.0-26.28 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Christopher Morrow (zygexian) wrote :
tags: removed: need-duplicate-check
affects: linux-signed (Ubuntu) → linux (Ubuntu)
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.