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 2139025 - There is error when run yum or rpm command relates to file /usr/lib/rpm/macros.d/macros.dist
Summary: There is error when run yum or rpm command relates to file /usr/lib/rpm/macro...
Keywords:
Status: CLOSED DUPLICATE of bug 2112392
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: redhat-release
Version: 9.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Release Engineering Bug Triage
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-01 03:03 UTC by yalzhang@redhat.com
Modified: 2022-11-01 06:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-01 06:38:14 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELBLD-11316 0 None None None 2022-11-01 03:09:12 UTC
Red Hat Issue Tracker RHELPLAN-137939 0 None None None 2022-11-01 03:09:16 UTC

Description yalzhang@redhat.com 2022-11-01 03:03:58 UTC
Description of problem:
There is error when run yum or rpm command relates to file /usr/lib/rpm/macros.d/macros.dist

Version-Release number of selected component (if applicable):
redhat-release-9.2-0.7.el9.x86_64

How reproducible:
100%

Steps to Reproduce:
1. When we run yum or rpm related commands, there is error as below:
# yum update -y
error: /usr/lib/rpm/macros.d/macros.dist: line 11: Macro %dist_debuginfod_url has empty body
error: /usr/lib/rpm/macros.d/macros.dist: line 11: Macro %dist_debuginfod_url has empty body
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:05:33 ago on Tue 01 Nov 2022 03:49:27 AM CET.
Dependencies resolved.
Nothing to do.
Complete!

# 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

Actual results:

Expected results:
There should not be such error

Additional info:

Comment 1 Pavel Holica 2022-11-01 06:38:14 UTC

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


Note You need to log in before you can comment on or make changes to this bug.