开发者社区> 问答> 正文

ubuntu14.04安装无法安装mysql

su root
apt-get install mysql-server mysql-client

错误提示
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
mysql-client : Depends: mysql-client-5.5 but it is not going to be installed
mysql-server : Depends: mysql-server-5.5 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.


展开
收起
初见1990 2016-07-27 14:32:29 4835 0
2 条回答
写回答
取消 提交回答
  • 旺旺:nectar2。
    楼主您好,

    请问这是一个新的ECS吗?系统的软件安装源,您曾自定义修改过吗?

    我在一个新的ECS ubuntu 14.04 64位上测试,正常:

    2016-07-28 09:54:09
    赞同 展开评论 打赏
  • 阿里云论坛版主,伪Linux运维,完美主义者。
    相关依赖组件未安装啊!

    1. sudo apt-get install mysql-server
    2. sudo apt-get install mysql-client
    3. sudo apt-get install php5-mysql(安装php5-mysql是将php和mysql连接起来 )
    2016-07-27 16:17:03
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
One Box: 解读事务与分析一体化数据库 HybridDB for MySQL 立即下载
One Box:解读事务与分析一体化数据库HybridDB for MySQL 立即下载
如何支撑HTAP场景-HybridDB for MySQL系统架构和技术演进 立即下载