yum failing due to corrupted repo file.
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, tools, and much more.