RHEL9: syncing Appstream repository using "reposync" fails with "Interrupted by header callback: Inconsistent server data" error message
Issue
-
When syncing RHEL9 Appstream repository using reposync command, the following error messages are observed
[root@RHEL_9 ~]# reposync -p /repo --repo rhel-9-for-x86_64-appstream-rpms --setopt includepkgs="php-pecl*" --refresh |& grep MIRROR [MIRROR] php-pecl-apcu-devel-5.1.23-1.module+el9.6.0+22647+1741ae35.x86_64.rpm: Interrupted by header callback: Inconsistent server data, reported file Content-Length: 66776, repository metadata states file length: 64288 (please report to repository maintainer) [MIRROR] php-pecl-apcu-5.1.23-1.module+el9.6.0+22647+1741ae35.x86_64.rpm: Interrupted by header callback: Inconsistent server data, reported file Content-Length: 67580, repository metadata states file length: 64956 (please report to repository maintainer) [MIRROR] php-pecl-redis6-6.1.0-2.module+el9.6.0+22647+1741ae35.x86_64.rpm: Interrupted by header callback: Inconsistent server data, reported file Content-Length: 287347, repository metadata states file length: 284859 (please report to repository maintainer) [MIRROR] php-pecl-apcu-devel-5.1.23-1.module+el9.6.0+22647+1741ae35.x86_64.rpm: Interrupted by header callback: Inconsistent server data, reported file Content-Length: 66776, repository metadata states file length: 64288 (please report to repository maintainer) [MIRROR] php-pecl-apcu-5.1.23-1.module+el9.6.0+22647+1741ae35.x86_64.rpm: Interrupted by header callback: Inconsistent server data, reported file Content-Length: 67580, repository metadata states file length: 64956 (please report to repository maintainer) [MIRROR] php-pecl-redis6-6.1.0-2.module+el9.6.0+22647+1741ae35.x86_64.rpm: Interrupted by header callback: Inconsistent server data, reported file Content-Length: 287347, repository metadata states file length: 284859 (please report to repository maintainer)
Environment
- Red Hat Enterprise Linux 9
- reposync
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.