| $ sudo apt install mysql-server | |
| Reading package lists... Done | |
| Building dependency tree | |
| Reading state information... Done | |
| The following packages were automatically installed and are no longer required: | |
| galera-3 iproute libdbi-perl libjemalloc1 libreadline5 | |
| Use 'sudo apt autoremove' to remove them. | |
| The following additional packages will be installed: | |
| libevent-core-2.0-5 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: | |
| libevent-core-2.0-5 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, 7 to newly install, 0 to remove and 0 not to upgrade. | |
| Need to get 19.6 MB/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 | |
| Get:1 http://au.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 mysql-client-core-5.7 amd64 5.7.17-0ubuntu0.16.10.1 [6,947 kB] | |
| Get:2 http://au.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 mysql-client-5.7 amd64 5.7.17-0ubuntu0.16.10.1 [1,835 kB] | |
| Get:3 http://au.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 mysql-server-core-5.7 amd64 5.7.17-0ubuntu0.16.10.1 [7,994 kB] | |
| Get:4 http://au.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 libevent-core-2.0-5 amd64 2.0.21-stable-2ubuntu0.16.10.1 [70.7 kB] | |
| Get:5 http://au.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 mysql-server-5.7 amd64 5.7.17-0ubuntu0.16.10.1 [2,761 kB] | |
| Get:6 http://au.archive.ubuntu.com/ubuntu yakkety-updates/main amd64 mysql-server all 5.7.17-0ubuntu0.16.10.1 [10.1 kB] | |
| Fetched 19.6 MB in 14s (1,312 kB/s) | |
| Preconfiguring packages ... | |
| Selecting previously unselected package mysql-common. | |
| (Reading database ... 249881 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) ... | |
| Selecting previously unselected package libevent-core-2.0-5:amd64. | |
| Preparing to unpack .../4-libevent-core-2.0-5_2.0.21-stable-2ubuntu0.16.10.1_amd64.deb ... | |
| Unpacking libevent-core-2.0-5:amd64 (2.0.21-stable-2ubuntu0.16.10.1) ... | |
| Setting up mysql-common (10.1.22+maria-1~yakkety) ... | |
| Selecting previously unselected package mysql-server-5.7. | |
| (Reading database ... 250039 files and directories currently installed.) | |
| Preparing to unpack .../0-mysql-server-5.7_5.7.17-0ubuntu0.16.10.1_amd64.deb ... | |
| Failed to stop mysql.service: Unit mysql.service not loaded. | |
| invoke-rc.d: initscript mysql, action "stop" failed. | |
| invoke-rc.d returned 5 | |
| There is a MySQL server running, but we failed in our attempts to stop it. | |
| Stop it yourself and try again! | |
| dpkg: error processing archive /tmp/apt-dpkg-install-SbUqDv/0-mysql-server-5.7_5.7.17-0ubuntu0.16.10.1_amd64.deb (--unpack): | |
| subprocess new pre-installation script returned error exit status 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) ... | |
| Errors were encountered while processing: | |
| /tmp/apt-dpkg-install-SbUqDv/0-mysql-server-5.7_5.7.17-0ubuntu0.16.10.1_amd64.deb | |
| 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