Hide Forgot
Description of problem: Packages are only accessible when a specific module or stream is enabled. Reposync is not able to sync the repository because it has to abide by these rules. The workaround would be to enable all modules, sync, then switch to any alternative streams or any remaining un-enabled modules, then sync again. This should be a simply run reposync and it syncs the entire repository without having to consider what's missing Version-Release number of selected component (if applicable): dnf-utils-4.0.2.2-3.el8.noarch How reproducible: Everytime Steps to Reproduce: 1. reposync --disablerepo="*" --enablerepo="rhel-8-for-x86_64-appstream-rpms" Actual results: reposync only downloads packages that are accessible Expected results: reposync should download the entire repository to include modules that are not enabled or even disabled Additional info:
The other workaround would be to mark the repo as a hotfix repo: add --setopt=repo_id.module_hotfixes=1 switch to command line.
PR https://github.com/rpm-software-management/dnf-plugins-core/pull/339 fixes the bug. Reposync now should download all the packages of the repo regardless the modules/streams status.
The corresponding tests are here: https://github.com/rpm-software-management/ci-dnf-stack/pull/550
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2019:3583