mysql依赖项安装问题

mysql依赖项安装问题

我在一台装有 Ubuntu 14.04 的测试服务器上重新安装了 mysql,之前安装时没有遇到任何问题。重新安装时,我执行以下操作:

use apt-get purge and remove on mysql-server-5.5 and mysql-server
clear all mysql related files
use `apt-get clear`, `autoclear`, `autoremove`
reinstall mysql-server with `apt-get install mysql-server-5.5` after that installs properly I install the mysql-server

现在我陷入了依赖关系。

when I use `apt-get install mysql-server-5.5` this shows up Depends: mysql-client-5.5 (>= 5.5.46-0ubuntu0.12.04.2)
E: Unable to correct problems, you have held broken packages.
when I use `apt-get install mysql-server-client-5.5` this shows up Depends: libdbd-mysql-perl (>= 1.2202) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
when I use `apt-get install libdbd-mysql-perl` this shows up Depends: perlapi-5.14.2
E: Unable to correct problems, you have held broken packages.

当我使用 perl -v 检查 perl 版本时,我得到的是 5.18.2,我需要降级我的 perl 或更新某些内容吗?我确保其他所有内容都已更新 ( apt-get update) 并升级 ( apt-get upgrade)

答案1

解决了它T_T刚刚使用apt-get install perl-base=5.14.2-6ubuntu2.4然后其他一切都随之而来

相关内容