Repository issue: Difference between revisions
No edit summary |
No edit summary |
(No difference)
|
Latest revision as of 10:55, 21 May 2018
"Unable to download packages from repository" error during an install or upgrade
Problem
Error: Unable to download packages from repository. System is not modified.
Solution
This could come up because the existing yum cache isn't cleaned it. To fix this, first run:
yum clean all
Clear Yum’s XML metadata by running the following command:
yum clean metadata
Run following command to clear the cached files for database.
yum clean dbcache
Then update the yum metadata again:
yum makecache