Uploading RPM's to a custom repository fails with `unexpected error occurred importing uploaded file: ascii codec can't decode byte 0xe2 in position 850: ordinal not in range(128)` error.

Solution Verified - Updated -

Issue

  • Uploading RPM packages to a custom repository using hammer command fails with the below error:

    'unexpected error occurred importing uploaded file: ''ascii'' codec can''t decode byte 0xe2 in position 850: ordinal not in range(128)'
    Katello::Errors::PulpError
    PLP0047: The importer yum_importer indicated a failed response when uploading rpm unit to repository test.
    

Environment

  • Red Hat Satellite 6.2

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