Repository issue: Difference between revisions
No edit summary |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
__FORCETOC__ | __FORCETOC__ | ||
<div class="col-md-12 ibox-content"> | <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==== | ====Problem==== | ||
Error: Unable to download packages from repository. System is not modified. | Error: Unable to download packages from repository. System is not modified. | ||
====Solution==== | ====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 | Clear Yum’s XML metadata by running the following command: | ||
yum clean metadata | yum clean metadata | ||
Line 18: | Line 18: | ||
yum clean dbcache | 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}} | {{Article Footer|ZCS 8.8, 8.7, 8.6|2018-05-19}} |
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