Difference between revisions of "Repository issue"
(Created page with "===<h1>Repository issue</h1>=== <hr> <br> <h2>Problem:</h2> Error: Unable to download packages from repository. System is not modified. <h2>Solution:</h2> yum clean all...") |
|||
(4 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | = | + | {{BC|Certified}} |
+ | __FORCETOC__ | ||
+ | <div class="col-md-12 ibox-content"> | ||
+ | ="Unable to download packages from repository" error during an install or upgrade= | ||
<hr> | <hr> | ||
− | + | {{KB|{{ZC}}|{{ZCS 8.8}}|{{ZCS 8.7}}|{{ZCS 8.6}}|{{ZCS 8.5}}|}} | |
− | + | ====Problem==== | |
− | |||
− | |||
− | |||
Error: Unable to download packages from repository. System is not modified. | 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 | yum clean all | ||
− | |||
− | |||
+ | Clear Yum’s XML metadata by running the following command: | ||
yum clean metadata | yum clean metadata | ||
− | + | ||
Run following command to clear the cached files for database. | Run following command to clear the cached files for database. | ||
+ | yum clean dbcache | ||
− | + | Then update the yum metadata again: | |
− | |||
− | |||
− | |||
yum makecache | yum makecache | ||
− | + | {{Article Footer|ZCS 8.8, 8.7, 8.6|2018-05-19}} | |
− | |||
− | |||
− |
Latest revision as of 10:55, 21 May 2018
Contents
"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