rpm -ivh mysql-5.1.52-1.el6_0.1.i686.rpm
出现以下错误信息
error: Failed dependencies:
/usr/bin/perl is needed by mysql-5.1.52-1.el6_0.1.i686
perl(Exporter) is needed by mysql-5.1.52-1.el6_0.1.i686
perl(Fcntl) is needed by mysql-5.1.52-1.el6_0.1.i686
perl(File::Temp) is needed by mysql-5.1.52-1.el6_0.1.i686
perl(Getopt::Long) is needed by mysql-5.1.52-1.el6_0.1.i686
perl(IPC::Open3) is needed by mysql-5.1.52-1.el6_0.1.i686
perl(Sys::Hostname) is needed by mysql-5.1.52-1.el6_0.1.i686
请问如何解决?/usr/bin/perl又是什么呢?
4 个解决方案
#1
安装perl
rpm -ivh perl-5.10.1-119.el6_1.1.i686.rpm
出现以下信息
error: Failed dependencies:
libperl.so is needed by perl-4:5.10.1-119.el6_1.1.i686
perl(Module::Pluggable) is needed by perl-4:5.10.1-119.el6_1.1.i686
perl(Pod::Simple) is needed by perl-4:5.10.1-119.el6_1.1.i686
perl(version) is needed by perl-4:5.10.1-119.el6_1.1.i686
perl-libs is needed by perl-4:5.10.1-119.el6_1.1.i686
perl-libs = 4:5.10.1-119.el6_1.1 is needed by perl-4:5.10.1-119.el6_1.1.i686
libperl.so即是 perl-libs-5.10.1-119.el6_1.1.i686.rpm
使用如下命令安装
rpm -ivh perl-libs-5.10.1-119.el6_1.1.i686.rpm
出现以下信息
error: Failed dependencies:
perl = 4:5.10.1-119.el6_1.1 is needed by perl-libs-4:5.10.1-119.el6_1.1.
两个包互相依赖,只有强制安装
rpm -ivh --force --nodeps perl-libs-5.10.1-119.el6_1.1.i686.rpm
rpm -ivh --force --nodeps perl-5.10.1-119.el6_1.1.i686.rpm
rpm -ivh perl-Module-Pluggable-3.90-119.el6_1.1.i686.rpm
rpm -ivh perl-Pod-Escapes-1.04-119.el6_1.1.i686
rpm -ivh perl-Pod-Simple-3.13-119.el6_1.1.i686
rpm -ivh perl-version-0.77-119.el6_1.1.i686.rpm
rpm -ivh perl-CGI-3.51-119.el6_1.1.i686.rpm
rpm -ivh --force --nodeps perl-devel-5.10.1-119.el6_1.1.i686.rpm
rpm -ivh perl-Test-Harness-3.17-119.el6_1.1.i686.rpm
rpm -ivh perl-Test-Simple-0.92-119.el6_1.1.i686.rpm
rpm -ivh perl-ExtUtils-MakeMaker-6.55-119.el6_1.1.i686.rpm
rpm -ivh perl-ExtUtils-ParseXS-2.2003.0-119.el6_1.1.i686.rpm
安装mysql
rpm -ivh mysql-5.1.52-1.el6_0.1.i686.rpm
rpm -ivh perl-DBI-1.609-4.el6.i686.rpm
rpm -ivh perl-DBD-MySQL-4.013-3.el6.i686.rpm
rpm -ivh mysql-server-5.1.52-1.el6_0.1.i686.rpm
#2
英语写的挺简单的,让你安perl。
#3
直接yum install mysql
多好……
多好……
#4
yum -y install mysql
#1
安装perl
rpm -ivh perl-5.10.1-119.el6_1.1.i686.rpm
出现以下信息
error: Failed dependencies:
libperl.so is needed by perl-4:5.10.1-119.el6_1.1.i686
perl(Module::Pluggable) is needed by perl-4:5.10.1-119.el6_1.1.i686
perl(Pod::Simple) is needed by perl-4:5.10.1-119.el6_1.1.i686
perl(version) is needed by perl-4:5.10.1-119.el6_1.1.i686
perl-libs is needed by perl-4:5.10.1-119.el6_1.1.i686
perl-libs = 4:5.10.1-119.el6_1.1 is needed by perl-4:5.10.1-119.el6_1.1.i686
libperl.so即是 perl-libs-5.10.1-119.el6_1.1.i686.rpm
使用如下命令安装
rpm -ivh perl-libs-5.10.1-119.el6_1.1.i686.rpm
出现以下信息
error: Failed dependencies:
perl = 4:5.10.1-119.el6_1.1 is needed by perl-libs-4:5.10.1-119.el6_1.1.
两个包互相依赖,只有强制安装
rpm -ivh --force --nodeps perl-libs-5.10.1-119.el6_1.1.i686.rpm
rpm -ivh --force --nodeps perl-5.10.1-119.el6_1.1.i686.rpm
rpm -ivh perl-Module-Pluggable-3.90-119.el6_1.1.i686.rpm
rpm -ivh perl-Pod-Escapes-1.04-119.el6_1.1.i686
rpm -ivh perl-Pod-Simple-3.13-119.el6_1.1.i686
rpm -ivh perl-version-0.77-119.el6_1.1.i686.rpm
rpm -ivh perl-CGI-3.51-119.el6_1.1.i686.rpm
rpm -ivh --force --nodeps perl-devel-5.10.1-119.el6_1.1.i686.rpm
rpm -ivh perl-Test-Harness-3.17-119.el6_1.1.i686.rpm
rpm -ivh perl-Test-Simple-0.92-119.el6_1.1.i686.rpm
rpm -ivh perl-ExtUtils-MakeMaker-6.55-119.el6_1.1.i686.rpm
rpm -ivh perl-ExtUtils-ParseXS-2.2003.0-119.el6_1.1.i686.rpm
安装mysql
rpm -ivh mysql-5.1.52-1.el6_0.1.i686.rpm
rpm -ivh perl-DBI-1.609-4.el6.i686.rpm
rpm -ivh perl-DBD-MySQL-4.013-3.el6.i686.rpm
rpm -ivh mysql-server-5.1.52-1.el6_0.1.i686.rpm
#2
英语写的挺简单的,让你安perl。
#3
直接yum install mysql
多好……
多好……
#4
yum -y install mysql