Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

why is repoquery not listing the files in a package

Tags:

yum

yum info eclipse-jdt shows information about a package. However, repoquery -lq eclipse-jdt does not show me what files are in that package, as this transcript shows:

[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]$ 
like image 352
Terrence Brannon Avatar asked Mar 15 '13 13:03

Terrence Brannon


People also ask

How to fix the package process error code $ {D}?

The package process will only take what is in the FILES variable that is related to the recipe, more info about FILES here. If it finds that some content present in $ {D} folder that is not specified in FILES_$ {PN} it will give that error. So, in order to fix the issue, you just need to add all content of $ {D} to FILES_$ {PN} variable.

What is repoquery in Yum?

“ repoquery ” is a program for querying information from YUM repositories similarly to rpm queries. The “ yum-utils ” package should be installed to use this command. If it is not already installed in your system you can install the package by the following yum command. # yum install yum-utils

How to list all files included in a package in Linux?

The DNF command, like yum and rpm before it, provides a simple way to list files in a package. In this Linux quick tip we will show you how to list all files included in a package. Listing files in a package is quite simple with the DNF package manager. Simply use repoquery with the -l option followed by the name of the package.

How to list files in a package with Yum?

To list files in a package with yum simply install the yum-utils package like so: sudo yum install yum-utils Now you can use the repoquery command with the -l option to list files in a package.


1 Answers

You have to enable plugins for repoquery to work on Red Hat systems, otherwise it won't see packages from RHN. Try running

repoquery --plugins -l eclipse-jdt
like image 100
sciurus Avatar answered Jan 02 '23 21:01

sciurus