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:
Two possibly related issues. yum repolist --verbose does not list all the baseurl defined in a .repo file. On RHEL5 this is the only issue. On RHEL6, the same issue occurs, but yum repolist also seems to list the Repo-baseurl twice:
# yum repolist enabled --verbose
Loading "rhnplugin" plugin
Loading "etckeeper" plugin
Loading "priorities" plugin
Loading "product-id" plugin
Loading "security" plugin
Loading "subscription-manager" plugin
Updating Red Hat repositories.
Config time: 0.077
Yum Version: 3.2.29
Looking for repo options for [rhel-x86_64-server-6]
Looking for repo options for [rhel-x86_64-server-optional-6]
Setting up Package Sacks
pkgsack time: 0.026
Repo-id : epel
Repo-name : Extra Packages for Enterprise Linux 6 - x86_64
Repo-revision: 1321145355
Repo-tags : binary-x86_64
Repo-updated : Sun Nov 13 12:00:51 2011
Repo-pkgs : 6,560
Repo-size : 6.1 G
Repo-baseurl : http://ftp.swin.edu.au/epel/6/x86_64
Repo-baseurl : http://ftp.swin.edu.au/epel/6/x86_64/
Repo-expire : 21,600 second(s) (last: Mon Nov 14 14:43:18 2011)
Repo-id : rhel-x86_64-server-6
Repo-name : Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64)
Repo-updated : Thu Nov 10 00:10:14 2011
Repo-pkgs : 5,577
Repo-size : 6.7 G
Repo-baseurl : https://xmlrpc.rhn.redhat.com/XMLRPC/GET-REQ/rhel-x86_64-server-6
Repo-baseurl : https://xmlrpc.rhn.redhat.com/XMLRPC/GET-REQ/rhel-x86_64-server-6
Repo-expire : 21,600 second(s) (last: Mon Nov 14 14:43:22 2011)
Repo-id : rhel-x86_64-server-optional-6
Repo-name : RHEL Server Optional (v. 6 64-bit x86_64)
Repo-updated : Thu Nov 10 00:10:14 2011
Repo-pkgs : 3,656
Repo-size : 3.6 G
Repo-baseurl : https://xmlrpc.rhn.redhat.com/XMLRPC/GET-REQ/rhel-x86_64-server-optional-6
Repo-baseurl : https://xmlrpc.rhn.redhat.com/XMLRPC/GET-REQ/rhel-x86_64-server-optional-6
Repo-expire : 21,600 second(s) (last: Mon Nov 14 14:43:24 2011)
Ideally this should be fixed to output all baseurls for a given repo, rather than outputting one Repo-baseurl multiple times.
Seems it was the formatting in my repo file that caught me out:
https://lists.dulug.duke.edu/pipermail/yum/2005-October/007643.html
There needs to be whitespace before the second baseurl in the repo file. Maybe the documentation should be updated to more clear?
For the second issue, Repo-baseurl is still listed twice in RHEL6, as opposed to once in RHEL5.