Skip to Main Content

reposync Oracle Linux 8 AppStream Repo with newest-only option is missing some packages

SukhumSep 20 2021 — edited Sep 20 2021

I am trying to create local Oracle Linux 8 repository but downloading only the latest version (the full repo is too huge). For the AppStream repo, it seems to be able to sync multiple of the latest versions depending on the modules but some packages are still missing.
For example, for ipa-* packages, only these packages are sync'ed.

[SKIPPED] ipa-client-4.7.1-11.0.1.module+el8+5193+804ea283.x86_64.rpm: Already downloaded
[SKIPPED] ipa-client-4.7.1-11.0.1.module+el8+5194+1459f29b.x86_64.rpm: Already downloaded
[SKIPPED] ipa-client-4.9.2-3.0.1.module+el8.4.0+20162+a92f1bfa.x86_64.rpm: Already downloaded
[SKIPPED] ipa-client-4.9.2-4.0.1.module+el8.4.0+20223+6d4ac663.x86_64.rpm: Already downloaded
[SKIPPED] ipa-client-epn-4.9.2-3.0.1.module+el8.4.0+20162+a92f1bfa.x86_64.rpm: Already downloaded
[SKIPPED] ipa-client-epn-4.9.2-4.0.1.module+el8.4.0+20223+6d4ac663.x86_64.rpm: Already downloaded
[SKIPPED] ipa-client-samba-4.9.2-3.0.1.module+el8.4.0+20162+a92f1bfa.x86_64.rpm: Already downloaded
[SKIPPED] ipa-client-samba-4.9.2-4.0.1.module+el8.4.0+20223+6d4ac663.x86_64.rpm: Already downloaded
[SKIPPED] ipa-idoverride-memberof-plugin-0.0.4-6.module+el8+5194+1459f29b.x86_64.rpm: Already downloaded
[SKIPPED] ipa-server-4.7.1-11.0.1.module+el8+5194+1459f29b.x86_64.rpm: Already downloaded
[SKIPPED] ipa-server-4.9.2-4.0.1.module+el8.4.0+20223+6d4ac663.x86_64.rpm: Already downloaded
[SKIPPED] ipa-server-trust-ad-4.7.1-11.0.1.module+el8+5194+1459f29b.x86_64.rpm: Already downloaded
[SKIPPED] ipa-server-trust-ad-4.9.2-4.0.1.module+el8.4.0+20223+6d4ac663.x86_64.rpm: Already downloaded

Based on the modules.yaml file from the repodata path, I believe the package ipa-client-4.9.2-4.0.1.module+el8.4.0+20223+6d4ac663.x86_64.rpm is downloaded because of idm:DL1 version 8040020210319141752 while the package ipa-client-4.9.2-3.0.1.module+el8.4.0+20162+a92f1bfa.x86_64.rpm is downloaded for idm:client version 8040020210319141812 . These look correct. However, those streams still have the package ipa-healthcheck-core listed but not downloaded.
Below is the command I ran to download the packages

$ reposync -c ol8-public.repo --newest-only --arch=x86_64 --download-metadata --repoid=ol8_appstream

Am I doing anything wrong with this reposync command or am I missing anything?
Best regards,

Post Details
Added on Sep 20 2021