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-server : Depends: mysql-server-5.5 but it is not going to be installed

E: Unable to correct problems, you have held broken packages.

安装mysql时候出现上述错误,

使用:sudo aptitude install mysql-server  安装能够解决版本依赖的问题

The following actions will resolve these dependencies:

Keep the following packages at their current version:
1)     libdbd-mysql-perl [Not Installed]                  
2)     libdbi-perl [Not Installed]                        
3)     libterm-readkey-perl [Not Installed]               
4)     mysql-client-5.5 [Not Installed]                   
5)     mysql-server [Not Installed]                       
6)     mysql-server-5.5 [Not Installed]

上述命令提示安装 perlapi-5.14.2

    • perlapi-5.14.2
      本虚包由这些包填实: perl-base
      http://packages.ubuntu.com/precise/liblocale-gettext-perl
      用命令安装有问题,到上面网址下载对应的

      perl-base_5.14.2-6ubuntu2.4_amd64.deb (上面下载不到还可以到这里下载

      http://download.csdn.net/detail/maixia24/8417441)

      安装上之后,再执行最初的命令,第一遍会出错,再执行一遍,安装mysql成功。

最新文章

  1. EF 连接sql2000
  2. LINUX:read、array、declare
  3. javascript知识点总结----Function定义
  4. C#连接Excel示例代码和驱动
  5. Web服务器部署浅析
  6. fragment的生命周期及其各个周期方法的作用
  7. github 基础教程推荐
  8. GDUT——1169: Krito的讨伐(优先队列BFS)
  9. jQuery 的插件 dataTables
  10. 深刻理解Python中的元类(metaclass)
  11. javascript-图片横向无缝隙滚动
  12. ch01.深入理解C#委托及原理(转)
  13. 已知TSP问题的最好解
  14. ONE WIRE
  15. [LeetCode] 1. Two Sum 两数之和
  16. 搭建Android手机服务器(一)
  17. css遮罩蒙版效果 分栏效果
  18. 终于懂得Perl句柄是什么意思了
  19. jzoj3156. 【GDOI2013模拟1】病毒传播
  20. 【PyQt5 学习记录】001:第一个界面

热门文章

  1. 工作总结 EntityFramework中出现DateTime2异常的完美解决办法
  2. python学习笔记—— 多进程中的 孤儿进程和僵尸进程
  3. 转:C#实现office文档转换为PDF或xps的一些方法
  4. http连接优化
  5. VirtualBOX 不能mount优盘,移动硬盘解决方案
  6. getXXXPos()约定
  7. ps钢笔工具 (重要工具)
  8. scala-trait实现AOP编程
  9. AAA含义图解
  10. 基于epoll的简单的httpserver