使用" yum search"可以找到rpm包但是" yum install"提到无所事事

时间:2015-08-29 10:48:43

标签: linux yum

当我执行yum搜索mysql-libs时,这样:

$sudo yum search mysql-libs
Loaded plugins: branch, downloadonly, fastestmirror, security
Loading mirror speeds from cached hostfile
========================================================================== N/S                 Matched: mysql-libs ==========================================================================
mysql-libs.x86_64 : The shared libraries required for MySQL clients

Name and summary matches only, use "search all" for everything.

但是当我执行install命令时,它说"无事可做"

$sudo yum install mysql-libs
Loaded plugins: branch, downloadonly, fastestmirror, security
Loading mirror speeds from cached hostfile
Setting up Install Process

有没有人遇到似乎问题并修好了?

感谢。

1 个答案:

答案 0 :(得分:0)

尝试使用rpm命令

# rpm -qa | grep mysql-libs

或者你需要安装repo并检查它。

https://dev.mysql.com/downloads/repo/yum/

http://dev.mysql.com/doc/mysql-repo-excerpt/5.6/en/linux-installation-yum-repo.html