加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > 安全 > 正文

yum – 为什么repoquery没有列出包中的文件

发布时间:2020-12-15 18:19:05 所属栏目:安全 来源:网络整理
导读:yum info eclipse-jdt显示有关包的信息.但是,repoquery -lq eclipse-jdt没有显示该包中的文件,因为此脚本显示: [tbrannon@oc bin]$yum info eclipse-jdtLoaded plugins: fastestmirror refresh- : packagekit,security,versionlockLoading mirror speeds fr
yum info eclipse-jdt显示有关包的信息.但是,repoquery -lq eclipse-jdt没有显示该包中的文件,因为此脚本显示:

[tbrannon@oc bin]$yum info eclipse-jdt
Loaded plugins: fastestmirror refresh-
              : packagekit,security,versionlock
Loading mirror speeds from cached hostfile
KVM-WIN                                                  | 2.6 kB     00:00     
RHEL-6-x86_64-openafs                                    | 3.2 kB     00:00     
RHEL-6-x86_64-rational-linux                             | 2.6 kB     00:00     
RHEL-63-x86_64                                           | 3.7 kB     00:00     
RHEL-63-x86_64-updates                                   | 2.9 kB     00:00     
Installed Packages
Name        : eclipse-jdt
Arch        : x86_64
Epoch       : 1
Version     : 3.6.1
Release     : 6.13.el6
Size        : 26 M
Repo        : installed
From repo   : RHEL-63-x86_64
Summary     : Eclipse Java Development Tools
URL         : http://www.eclipse.org/
License     : EPL
Description : Eclipse Java Development Tools.  This package is required to use
            : Eclipse for developing software written in the Java programming
            : language.

[tbrannon@oc bin]$repoquery -lq eclipse-jdt
[tbrannon@oc bin]$

解决方法

您必须启用repoquery插件才能在Red Hat系统上运行,否则它将无法查看来自RHN的软件包.试试跑步

repoquery --plugins -l eclipse-jdt

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读