Bug 2228552 - yum/dnf is broken
Summary: yum/dnf is broken
Keywords:
Status: CLOSED DUPLICATE of bug 2228551
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: python36
Version: 8.6
Hardware: Unspecified
OS: Linux
unspecified
urgent
Target Milestone: rc
: ---
Assignee: Python Maintainers
QA Contact: RHEL CS Apps Subsystem QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-02 15:59 UTC by hasn318
Modified: 2023-08-02 17:30 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-08-02 17:29:50 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-164236 0 None None None 2023-08-02 16:01:54 UTC

Description hasn318 2023-08-02 15:59:50 UTC
No yum/dnf commands works on RHEL 8 EC2 instance. Whatever yum/dnf command I run, I get the below error. Any help would be appreciated
yum
Traceback (most recent call last):
File "/usr/bin/yum", line 57, in
from dnf.cli import main
File "/usr/lib/python3.6/site-packages/dnf/init.py", line 22, in
import warnings
ImportError: bad magic number in 'warnings': b'a\r\r\n'

Comment 1 Miro Hrončok 2023-08-02 17:29:50 UTC

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


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