MySQLをインストールできないのですが、何故でしょうか。
OSはLinux bean 32bit
インストールしようとしたのはmysql-server-core-5.7 です。
installArchives() failed: N: '/etc/apt/apt.conf.d/' '50unattended-upgrades.ucf-dist' ... N: '/etc/apt/apt.conf.d/' '50unattended-upgrades.ucf-dist' ... Selecting previously unselected package mysql-common. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 272089 files and directories currently installed.) Preparing to unpack .../mysql-common_5.7.18-0ubuntu0.16.04.1_all.deb ... Unpacking mysql-common (5.7.18-0ubuntu0.16.04.1) ... Selecting previously unselected package mysql-client-core-5.7. Preparing to unpack .../mysql-client-core-5.7_5.7.18-0ubuntu0.16.04.1_i386.deb ... Unpacking mysql-client-core-5.7 (5.7.18-0ubuntu0.16.04.1) ... Selecting previously unselected package mysql-client-5.7. Preparing to unpack .../mysql-client-5.7_5.7.18-0ubuntu0.16.04.1_i386.deb ... Unpacking mysql-client-5.7 (5.7.18-0ubuntu0.16.04.1) ... Selecting previously unselected package mysql-server-core-5.7. Preparing to unpack .../mysql-server-core-5.7_5.7.18-0ubuntu0.16.04.1_i386.deb ... Unpacking mysql-server-core-5.7 (5.7.18-0ubuntu0.16.04.1) ... Processing triggers for man-db (2.7.5-1) ... Setting up mysql-common (5.7.18-0ubuntu0.16.04.1) ... update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode Selecting previously unselected package mysql-server-5.7. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 272245 files and directories currently installed.) Preparing to unpack .../mysql-server-5.7_5.7.18-0ubuntu0.16.04.1_i386.deb ... Unpacking mysql-server-5.7 (5.7.18-0ubuntu0.16.04.1) ... Selecting previously unselected package mysql-server. Preparing to unpack .../mysql-server_5.7.18-0ubuntu0.16.04.1_all.deb ... Unpacking mysql-server (5.7.18-0ubuntu0.16.04.1) ... Processing triggers for ureadahead (0.100.0-19) ... ureadahead will be reprofiled on next reboot Processing triggers for systemd (229-4ubuntu17) ... Processing triggers for man-db (2.7.5-1) ... Setting up mysql-client-core-5.7 (5.7.18-0ubuntu0.16.04.1) ... Setting up mysql-client-5.7 (5.7.18-0ubuntu0.16.04.1) ... Setting up mysql-server-core-5.7 (5.7.18-0ubuntu0.16.04.1) ... Setting up mysql-server-5.7 (5.7.18-0ubuntu0.16.04.1) ... update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode Renaming removed key_buffer and myisam-recover options (if present) initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: insserv: warning: script 'lxdm' missing LSB tags and overrides insserv: Default-Start undefined, assuming empty start runlevel(s) for script `lxdm' insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `lxdm' Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details. invoke-rc.d: initscript mysql, action "start" failed. mysql.service - MySQL Community Server Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since 2017-07-07 19:59:44 JST; 18ms ago Process: 5005 ExecStartPost=/usr/share/mysql/mysql-systemd-start post (code=exited, status=0/SUCCESS) Process: 5004 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE) Process: 4984 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS) Main PID: 5004 (code=exited, status=1/FAILURE) 7 07 19:59:44 DOG2 systemd[1]: Failed to start MySQL Community Server. 7 07 19:59:44 DOG2 systemd[1]: mysql.service: Unit entered failed state. 7 07 19:59:44 DOG2 systemd[1]: mysql.service: Failed with result 'exit-...'. Hint: Some lines were ellipsized, use -l to show in full. dpkg: error processing package mysql-server-5.7 (--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.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 (229-4ubuntu17) ... Processing triggers for ureadahead (0.100.0-19) ... Errors were encountered while processing: mysql-server-5.7 mysql-server Setting up mysql-server-5.7 (5.7.18-0ubuntu0.16.04.1) ... Renaming removed key_buffer and myisam-recover options (if present) initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: insserv: warning: script 'lxdm' missing LSB tags and overrides insserv: Default-Start undefined, assuming empty start runlevel(s) for script `lxdm' insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `lxdm' Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details. invoke-rc.d: initscript mysql, action "start" failed. mysql.service - MySQL Community Server Loaded: loaded (/lib/systemd/system/mysql.service; enabled; vendor preset: enabled) Active: activating (auto-restart) (Result: exit-code) since 2017-07-07 20:00:24 JST; 18ms ago Process: 5352 ExecStartPost=/usr/share/mysql/mysql-systemd-start post (code=exited, status=0/SUCCESS) Process: 5351 ExecStart=/usr/sbin/mysqld (code=exited, status=1/FAILURE) Process: 5342 ExecStartPre=/usr/share/mysql/mysql-systemd-start pre (code=exited, status=0/SUCCESS) Main PID: 5351 (code=exited, status=1/FAILURE) 7 07 20:00:24 DOG2 systemd[1]: Failed to start MySQL Community Server. 7 07 20:00:24 DOG2 systemd[1]: mysql.service: Unit entered failed state. 7 07 20:00:24 DOG2 systemd[1]: mysql.service: Failed with result 'exit-...'. Hint: Some lines were ellipsized, use -l to show in full. dpkg: error processing package mysql-server-5.7 (--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.7; however: Package mysql-server-5.7 is not configured yet. dpkg: error processing package mysql-server (--configure): dependency problems - leaving unconfigured
こんなログが出てインストールに失敗します。
SUCCESSとなっている部分とfailedなっている部分がありますが、主にfailed(要はエラーですね)となっている部分についてどのような意味かとか調べましたか?あとエラーメッセージ部分も<code>化をお願いします。(```~~```で囲って最後に改行を入れる)
回答1件
あなたの回答
tips
プレビュー