Skip to content

Instantly share code, notes, and snippets.

@joshbenham
Created April 3, 2017 03:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joshbenham/19cbea64d7874b29d3a5df51323c9900 to your computer and use it in GitHub Desktop.
Save joshbenham/19cbea64d7874b29d3a5df51323c9900 to your computer and use it in GitHub Desktop.
josh at ezgaroth in ~
$ ps aux | grep ysql
josh 1767 0.0 0.0 14236 992 pts/1 S+ 13:49 0:00 grep --color=auto ysql
josh at ezgaroth in ~
$ sudo apt install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
mysql-client-5.7 mysql-client-core-5.7 mysql-common mysql-server-5.7 mysql-server-core-5.7
Suggested packages:
mailx tinyca
The following NEW packages will be installed:
mysql-client-5.7 mysql-client-core-5.7 mysql-common mysql-server mysql-server-5.7 mysql-server-core-5.7
0 to upgrade, 6 to newly install, 0 to remove and 0 not to upgrade.
Need to get 0 B/19.6 MB of archives.
After this operation, 170 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 ... 249709 files and directories currently installed.)
Preparing to unpack .../0-mysql-common_10.1.22+maria-1~yakkety_all.deb ...
Unpacking mysql-common (10.1.22+maria-1~yakkety) ...
Selecting previously unselected package mysql-client-core-5.7.
Preparing to unpack .../1-mysql-client-core-5.7_5.7.17-0ubuntu0.16.10.1_amd64.deb ...
Unpacking mysql-client-core-5.7 (5.7.17-0ubuntu0.16.10.1) ...
Selecting previously unselected package mysql-client-5.7.
Preparing to unpack .../2-mysql-client-5.7_5.7.17-0ubuntu0.16.10.1_amd64.deb ...
Unpacking mysql-client-5.7 (5.7.17-0ubuntu0.16.10.1) ...
Selecting previously unselected package mysql-server-core-5.7.
Preparing to unpack .../3-mysql-server-core-5.7_5.7.17-0ubuntu0.16.10.1_amd64.deb ...
Unpacking mysql-server-core-5.7 (5.7.17-0ubuntu0.16.10.1) ...
Setting up mysql-common (10.1.22+maria-1~yakkety) ...
(Reading database ... 249863 files and directories currently installed.)
Preparing to unpack .../0-mysql-server-5.7_5.7.17-0ubuntu0.16.10.1_amd64.deb ...
Unpacking mysql-server-5.7 (5.7.17-0ubuntu0.16.10.1) ...
Selecting previously unselected package mysql-server.
Preparing to unpack .../1-mysql-server_5.7.17-0ubuntu0.16.10.1_all.deb ...
Unpacking mysql-server (5.7.17-0ubuntu0.16.10.1) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Setting up mysql-server-core-5.7 (5.7.17-0ubuntu0.16.10.1) ...
Processing triggers for systemd (231-9ubuntu3) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up mysql-client-core-5.7 (5.7.17-0ubuntu0.16.10.1) ...
Setting up mysql-client-5.7 (5.7.17-0ubuntu0.16.10.1) ...
Setting up mysql-server-5.7 (5.7.17-0ubuntu0.16.10.1) ...
Installing new version of config file /etc/apparmor.d/usr.sbin.mysqld ...
Configuration file '/etc/init.d/mysql'
==> Deleted (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** mysql (Y/I/N/O/D/Z) [default=N] ? y
Installing new version of config file /etc/init.d/mysql ...
Installing new version of config file /etc/logrotate.d/mysql-server ...
Configuration file '/etc/mysql/debian-start'
==> Deleted (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : start a shell to examine the situation
The default action is to keep your current version.
*** debian-start (Y/I/N/O/D/Z) [default=N] ? y
Installing new version of config file /etc/mysql/debian-start ...
/var/lib/dpkg/info/mysql-server-5.7.postinst: line 143: /usr/share/mysql-common/configure-symlinks: No such file or directory
dpkg: error processing package mysql-server-5.7 (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.7; however:
Package mysql-server-5.7 is not configured yet.
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
Processing triggers for systemd (231-9ubuntu3) ...
Processing triggers for ureadahead (0.100.0-19) ...
Errors were encountered while processing:
mysql-server-5.7
mysql-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