【问题标题】:using "yum search" can find the rpm package but "yum install " mentions nothing to do使用“yum search”可以找到rpm包,但“yum install”没有提及
【发布时间】:2015-08-29 10:48:43
【问题描述】:

当我执行 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.

但是当我执行安装命令时,它说“无事可做”

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

有没有人遇到过看似问题并解决了它?

谢谢。

【问题讨论】:

    标签: linux yum


    【解决方案1】:

    用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

    【讨论】:

    • 谢谢。当我执行“rpm -qa | grep 'mysql-libs'”时,我什么也没得到。
    猜你喜欢
    • 2020-12-29
    • 2014-02-09
    • 1970-01-01
    • 2015-06-16
    • 2011-03-13
    • 2012-03-20
    • 2017-07-04
    • 1970-01-01
    • 2012-08-13
    相关资源
    最近更新 更多