【发布时间】:2016-11-16 20:48:04
【问题描述】:
我正在尝试安装 mysql-community-server_5.7.13-1ubuntu16.04_amd64.deb。 在此之前我已经运行了命令 sudo apt-get remove --purge mysql* sudo apt-get 自动删除 sudo apt-get 自动清理
之后我面临以下错误。 cn 有人给我解决方案。
testuser@mon-mod:/usr/mysql$ sudo dpkg -i mysql-community-server_5.7.13-1ubuntu16.04_amd64.deb
(Reading database ... 63795 files and directories currently installed.)
Preparing to unpack mysql-community-server_5.7.13-1ubuntu16.04_amd64.deb ...
.
Unpacking mysql-community-server (5.7.13-1ubuntu16.04) over (5.7.13-1ubuntu16.04) ...
dpkg: dependency problems prevent configuration of mysql-community-server:
mysql-community-server depends on mysql-common (= 5.7.13-1ubuntu16.04); however:
Package mysql-common is not installed.
mysql-community-server depends on mysql-client (= 5.7.13-1ubuntu16.04); however:
Package mysql-client is not installed.
mysql-community-server depends on libmecab2 (>= 0.996-1.2ubuntu1); however:
Package libmecab2 is not installed.
mysql-community-server depends on libstdc++6 (>= 5.2); however:
Version of libstdc++6:amd64 on system is 4.8.4-2ubuntu1~14.04.1.
mysql-community-server depends on init-system-helpers (>= 1.18~); however:
Version of init-system-helpers on system is 1.14.
dpkg: error processing package mysql-community-server (--install):
dependency problems - leaving unconfigured
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Errors were encountered while processing:
mysql-community-server
testuser@mon-mod:/usr/mysql$
【问题讨论】:
标签: mysql linux ubuntu mysqli mysql-error-1064