apt-get install 的替换命令及mysql安装问题的解决
2015-02-02 17:30
676 查看
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
用命令安装有问题,到上面网址下载对应的
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成功。相关文章推荐
- 小小成就——解决apt-get install命令的异常问题
- Ubuntu通过apt-get install安装mysql后pdo_mysql无法连接的解决方法
- 在Lunix 系统下 apt-get 安装mysql 遇到/var/lib/dpkg/lock 问题解决方法
- 执行安装软件命令提示apt-get -f install的解决方法
- 安装Ubuntu之后默认英文,选简体中文,正常来说这样装好就应该能用的,可是这个时候又出现了错误,說:broken package database. 请用apt-get install -f解决问题
- Linux(Ubuntu)使用 sudo apt-get install 命令安装软件的目录在哪?(已解决)
- 解决iOS8通过SSH使用apt-get install安装时出现的问题
- 重装Ubuntu 14.04后使用apt-get安装build-essential(即sudo apt-get install build-essential)时出现包依赖项问题的解决方法
- apt-get install安装软件问题(安装包的依赖库版本过高问题)
- ubuntu MySQL采用apt-get install安装目录情况
- 有关apt-get install安装vim出现的问题
- apt-get install安装软件问题(安装包的依赖库版本过高问题)
- Ubuntu使用命令安装jdk失败的解决方案--sudo apt-get install sun-java6-jdk
- 解决sudo apt-get install build-essential 或者g++问题
- apt-get install的默认安装路径查找命令dpkg -L 软件包名
- ubuntu MySQL采用apt-get install安装目录
- Ubuntu使用命令安装jdk失败的解决方案--sudo apt-get install sun-java6-jdk
- 解决Ubuntu/debian的Apt-get 由于依赖关系安装失败的问题
- 解决Ubuntu/debian的Apt-get 由于依赖关系安装失败的问题
- 解决Ubuntu/debian的Apt-get 由于依赖关系安装失败的问题