yum failing due to corrupted repo file.

Solution Verified - Updated -

Issue

  • yum failing due to corrupted repo file:
# yum update
Loaded plugins: enabled_repos_upload, langpacks, package_upload, product-id, search-disabled-repos, subscription-manager
File contains parsing errors: /var/lib/rhsm/repo_server_val/redhat.repo
        [line 106]: ui_repoid_var
.
.
.
No packages marked for update
Uploading Enabled Repositories Report
Loaded plugins: langpacks, product-id, subscription-manager
File contains parsing errors: /var/lib/rhsm/repo_server_val/redhat.repo
        [line 106]: ui_repoid_var

Environment

  • Red Hat Enterprise Linux

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