File tree Expand file tree Collapse file tree 3 files changed +60
-0
lines changed
Expand file tree Collapse file tree 3 files changed +60
-0
lines changed Original file line number Diff line number Diff line change @@ -480,6 +480,26 @@ dnf install -y ${RabbitMQServerPackageFilename({packageType: 'rpm-el8'})}`}
480480</CodeBlock >
481481
482482
483+ ## How to Clearn Local dnf Cache {#clear-cache}
484+
485+ In some rare cases new versions available in RPM repositories will not be visible
486+ to ` dnf install ` even after running ` dnf update ` .
487+
488+ In this case, clearing the local cache may be necessary:
489+
490+ ``` bash
491+ dnf clean metadata
492+
493+ dnf clean dbcache
494+
495+ dnf clean all
496+ ```
497+
498+ After clearing the cache, ` dnf ` will have to re-download all metadata from all
499+ repositories, including the standard ones for the distribution. This can take
500+ some time.
501+
502+
483503## Direct Downloads {#downloads}
484504
485505In some cases it may be easier to download the package and install it manually. The package can be downloaded
Original file line number Diff line number Diff line change @@ -480,6 +480,26 @@ dnf install -y ${RabbitMQServerPackageFilename({packageType: 'rpm-el8'})}`}
480480</CodeBlock >
481481
482482
483+ ## How to Clearn Local dnf Cache {#clear-cache}
484+
485+ In some rare cases new versions available in RPM repositories will not be visible
486+ to ` dnf install ` even after running ` dnf update ` .
487+
488+ In this case, clearing the local cache may be necessary:
489+
490+ ``` bash
491+ dnf clean metadata
492+
493+ dnf clean dbcache
494+
495+ dnf clean all
496+ ```
497+
498+ After clearing the cache, ` dnf ` will have to re-download all metadata from all
499+ repositories, including the standard ones for the distribution. This can take
500+ some time.
501+
502+
483503## Direct Downloads {#downloads}
484504
485505In some cases it may be easier to download the package and install it manually. The package can be downloaded
Original file line number Diff line number Diff line change @@ -480,6 +480,26 @@ dnf install -y ${RabbitMQServerPackageFilename({packageType: 'rpm-el8'})}`}
480480</CodeBlock >
481481
482482
483+ ## How to Clearn Local dnf Cache {#clear-cache}
484+
485+ In some rare cases new versions available in RPM repositories will not be visible
486+ to ` dnf install ` even after running ` dnf update ` .
487+
488+ In this case, clearing the local cache may be necessary:
489+
490+ ``` bash
491+ dnf clean metadata
492+
493+ dnf clean dbcache
494+
495+ dnf clean all
496+ ```
497+
498+ After clearing the cache, ` dnf ` will have to re-download all metadata from all
499+ repositories, including the standard ones for the distribution. This can take
500+ some time.
501+
502+
483503## Direct Downloads {#downloads}
484504
485505In some cases it may be easier to download the package and install it manually. The package can be downloaded
You can’t perform that action at this time.
0 commit comments