Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
#apt-get install mariadb-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
mariadb-server-10.0 mariadb-server-core-10.0
Suggested packages:
mailx mariadb-test tinyca
The following NEW packages will be installed:
mariadb-server mariadb-server-10.0 mariadb-server-core-10.0
0 upgraded, 3 newly installed, 0 to remove and 6 not upgraded.
Need to get 8,591 kB of archives.
After this operation, 89.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 mariadb-server-core-10.0 amd64 10.0.25-0ubuntu0.16.04.1 [4,334 kB]
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 mariadb-server-10.0 amd64 10.0.25-0ubuntu0.16.04.1 [4,244 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 mariadb-server all 10.0.25-0ubuntu0.16.04.1 [13.1 kB]
Fetched 8,591 kB in 1s (5,086 kB/s)
Preconfiguring packages ...
Selecting previously unselected package mariadb-server-core-10.0.
(Reading database ... 384236 files and directories currently installed.)
Preparing to unpack .../mariadb-server-core-10.0_10.0.25-0ubuntu0.16.04.1_amd64.deb ...
Unpacking mariadb-server-core-10.0 (10.0.25-0ubuntu0.16.04.1) ...
Selecting previously unselected package mariadb-server-10.0.
Preparing to unpack .../mariadb-server-10.0_10.0.25-0ubuntu0.16.04.1_amd64.deb ...
/var/lib/mysql: found previous version 10.0
Unpacking mariadb-server-10.0 (10.0.25-0ubuntu0.16.04.1) ...
Selecting previously unselected package mariadb-server.
Preparing to unpack .../mariadb-server_10.0.25-0ubuntu0.16.04.1_all.deb ...
Unpacking mariadb-server (10.0.25-0ubuntu0.16.04.1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for systemd (229-4ubuntu7) ...
Processing triggers for ureadahead (0.100.0-19) ...
Setting up mariadb-server-core-10.0 (10.0.25-0ubuntu0.16.04.1) ...
Setting up mariadb-server-10.0 (10.0.25-0ubuntu0.16.04.1) ...
dpkg: error processing package mariadb-server-10.0 (--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.0 (>= 10.0.25-0ubuntu0.16.04.1); however:
Package mariadb-server-10.0 is not configured yet.
dpkg: error processing package mariadb-server (--configure):
dependency problems - leaving unconfigured
Processing triggers for systemd (229-4ubuntu7) ...
No apport report written because the error message indicates its a followup error from a previous failure.
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
mariadb-server-10.0
mariadb-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment