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.
Description of problem:
If you try to get a repolist via "yum repolist" it takes longer to display the repos from the cache than without the cache option
Version-Release number of selected component (if applicable):
yum-3.4.3-150.el7.noarch
yum-rhn-plugin-2.0.1-6.el7.noarch
Steps to Reproduce:
1. run "yum repolist" to ensure the repo is udpated
2. run: time yum repolist
output:
real 0m1.464s
user 0m0.350s
sys 0m0.061s
3. run: time yum repolist -C
real 0m3.498s
user 0m3.300s
sys 0m0.157s
Actual results:
yum repolist -C takes 2.5 times the time of yum repolist to display the output of the repo list
Expected results:
yum repolist -C should be much faster than yum repolist
Additional info:
The repolist contains of:
17 Satellite channels
7 yum repos
I can't reproduce this. I'm getting roughly the same times for both with and without -C (it shouldn't be that much faster with -C anyway).
Do you still experience this? If so, could you please run:
1) yum clean all
2) yum repolist
3) yum repolist --verbose and attach the output
4) yum repolist -C --verbose and attach the output
I have found the reason for the delay. If I only have satellite channels , yum repolist -C is double as fast as yum repolist .
If I add a local yum repo additional to the satellite channels, the output looks really strange when using the -C option, and the duration is double as long as yum repolist (see output in attachment)