Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionJaromir Hradilek
2011-09-02 14:32:45 UTC
Description of problem:
The repoquery(1) manual page claims that the repoquery utility allows a user to display information about a package even when the package is not installed (for example, the "repoquery -l <package_name>" is supposed to produce output similar to "rpm -ql <package_name>", etc.). However, an attempt to use any of the command line options described in the "PACKAGE QUERY OPTIONS" section of the aforementioned manual page does not produce any output or error.
Version-Release number of selected component (if applicable):
yum-utils-1.1.30-6.el6.noarch
yum-rhn-plugin-0.9.1-26.el6_1.1.noarch
yum-3.2.29-17.el6.noarch
How reproducible:
Always.
Steps to Reproduce:
1. Log in as the root user:
~]$ su -
Password:
2. Make sure the package you are about to query is in available
repositories, for example:
~]# yum info net-snmp
Loaded plugins: refresh-packagekit, rhnplugin
Installed Packages
Name : net-snmp
Arch : x86_64
...
3. Attempt to query information about the package or list
its content:
~]# repoquery -i net-snmp
~]# repoquery -l net-snmp
~]# echo $?
0
Actual results:
The command terminates without output and returns exit code 0 (success).
Expected results:
Output similar to the one in Fedora 14, for example:
~]# repoquery -i net-snmp
Name : net-snmp
Version : 5.5
Release : 31.el6
...
Additional info:
The system is up-to-date and is registered with RHN Classic.