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: ---   
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 ***