RHEL9: syncing Appstream repository using "reposync" fails with "Interrupted by header callback: Inconsistent server data" error message

Solution Verified - Updated -

Issue

  • When syncing RHEL9 Appstream repository using reposync command, the following error messages are observed

    [MIRROR] pg_repack-1.4.8-2.module+el9.5.0+22224+f5585c78.x86_64.rpm: Interrupted by header callback: Inconsistent server data, reported file Content-Length: 98151, repository metadata states file length: 100639 (please report to repository maintainer)
    [MIRROR] pgvector-0.6.2-2.module+el9.6.0+22979+c3d78d52.x86_64.rpm: Interrupted by header callback: Inconsistent server data, reported file Content-Length: 86196, repository metadata states file length: 83716 (please report to repository maintainer)
    [MIRROR] pgaudit-1.7.0-1.module+el9.2.0+17405+aeb9ec60.x86_64.rpm: Interrupted by header callback: Inconsistent server data, reported file Content-Length: 31680, repository metadata states file length: 34752 (please report to repository maintainer)
    [MIRROR] pgvector-0.6.2-2.module+el9.6.0+22979+c3d78d52.x86_64.rpm: Interrupted by header callback: Inconsistent server data, reported file Content-Length: 86196, repository metadata states file length: 83716 (please report to repository maintainer)
    [FAILED] pgvector-0.6.2-2.module+el9.6.0+22979+c3d78d52.x86_64.rpm: No more mirrors to try - All mirrors were already tried without success        
    [MIRROR] pg_repack-1.4.8-2.module+el9.5.0+22224+f5585c78.x86_64.rpm: Interrupted by header callback: Inconsistent server data, reported file Content-Length: 98151, repository metadata states file length: 100639 (please report to repository maintainer)
    [FAILED] pg_repack-1.4.8-2.module+el9.5.0+22224+f5585c78.x86_64.rpm: No more mirrors to try - All mirrors were already tried without success       
    [MIRROR] pgaudit-1.7.0-1.module+el9.2.0+17405+aeb9ec60.x86_64.rpm: Interrupted by header callback: Inconsistent server data, reported file Content-Length: 31680, repository metadata states file length: 34752 (please report to repository maintainer)
    [FAILED] pgaudit-1.7.0-1.module+el9.2.0+17405+aeb9ec60.x86_64.rpm: No more mirrors to try - All mirrors were already tried without success         
    

Environment

  • Red Hat Enterprise Linux 9
    • reposync

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content