Yum is throwing "UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position XX: ordinal not in range(XXX)" error.

Solution Verified - Updated -

Issue

  • yum command is throwing several Unicode errors
  • yum check-update throws below error message:
UnicodeDecodeError: 'ascii' codec can't decode byte 0xec in position 41: ordinal not in range(128)
'ascii' codec can't decode byte 0xc3 in position 17: ordinal not in range(128)

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • yum

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.