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.

Bug 2139157

Summary: error: /usr/lib/rpm/macros.d/macros.dist: line 11: Macro %dist_debuginfod_url has empty body
Product: Red Hat Enterprise Linux 9 Reporter: Fine Fan <ffan>
Component: redhat-releaseAssignee: Release Engineering Bug Triage <releng-maint-list>
Status: CLOSED DUPLICATE QA Contact: Release Test Team <release-test-team-automation>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 9.2CC: lisas, pholica
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-02 06:28:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Fine Fan 2022-11-01 16:24:47 UTC
Description of problem:


Version-Release number of selected component (if applicable):

RHEL-9.2.0-20221031.0

redhat-release-9.2-0.7.el9.x86_64
rpm-4.16.1.3-17.el9.x86_64

How reproducible:


Steps to Reproduce:
1.Install the OS with RHEL-9.2.0-20221031.0 dvd iso
2. running any rpm -q <package> command 
3. check the output

Actual results:
Always get error message
error: /usr/lib/rpm/macros.d/macros.dist: line 11: Macro %dist_debuginfod_url has empty body

Expected results:
Just give out the command output without error message.


Additional info:

[root@el92-10310 yum.repos.d]# rpm -q mdadm
error: /usr/lib/rpm/macros.d/macros.dist: line 11: Macro %dist_debuginfod_url has empty body
mdadm-4.2-6.el9.x86_64
[root@el92-10310 yum.repos.d]# rpm -q rpm
error: /usr/lib/rpm/macros.d/macros.dist: line 11: Macro %dist_debuginfod_url has empty body
rpm-4.16.1.3-17.el9.x86_64
[root@el92-10310 yum.repos.d]# rpm -qf /usr/lib/rpm/macros.d/macros.dist
error: /usr/lib/rpm/macros.d/macros.dist: line 11: Macro %dist_debuginfod_url has empty body
redhat-release-9.2-0.7.el9.x86_64
[root@el92-10310 yum.repos.d]#

Comment 1 Fine Fan 2022-11-01 16:46:21 UTC
I think the  dnf tool still have the problem

[root@el92-10310 yum.repos.d]# dnf info kernel
error: /usr/lib/rpm/macros.d/macros.dist: line 11: Macro %dist_debuginfod_url has empty body   <<<<<<<Shouldn't be here.
error: /usr/lib/rpm/macros.d/macros.dist: line 11: Macro %dist_debuginfod_url has empty body   <<<<<<<Shouldn't be here.
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered with an entitlement server. You can use subscription-manager to register.

Last metadata expiration check: 0:00:21 ago on Wed 02 Nov 2022 12:35:21 AM CST.
Installed Packages
Name         : kernel
Version      : 5.14.0
Release      : 182.el9

Comment 2 Pavel Holica 2022-11-02 06:28:17 UTC

*** This bug has been marked as a duplicate of bug 2112392 ***