Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.

If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!

RPM push error - A 400 error occurred in rpm-dev: Unable to parse package header. The supplied package may be an invalid RPM file.



  • On Proget build proget.inedo.com/productimages/inedo/proget:5.3.10 - RPM repository works as expected.

    After update to 5.3.11+ including newest 5.3.26 I am getting following error.

    | info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
    proget        |       Request starting HTTP/1.1 PUT http://XXX/rpm/rpm-dev/RPM-TEST-0.4.52-1.el7.x86_64.rpm - 345255284
    proget        | Error installing package: Invalid header header.
    proget        | A 400 error occurred in rpm-dev: Unable to parse package header. The supplied package may be an invalid RPM file.
    proget        | An error occurred processing a PUT request to http://XXX/rpm/rpm-dev/RPM-TEST-0.4.52-1.el7.x86_64.rpm: Unable to parse package header. The supplied package may be an invalid RPM file.
    

    In the changelog I do not see any RPM-related change, maybe PG-1815 - Update InedoLib to v950.0.5.

    RPM is built on Centos 7 with rpm-build .


  • inedo-engineer

    Hi @ipluskal_1214

    You're right, there haven't been any RPM changes... the error message is implying that ProGet is rejecting the data you're sending for some reason, "Unable to parse package header. The supplied package may be an invalid RPM file".

    It might be a .NET5 issue, just based on the version numbers you told me. Since ProGet v5.3.12, the inedo/proget image is hosted using the .NET Core runtime. Previously, it was hosted using the Mono runtime. The inedo/progetmono image is available to v5.3.19.

    Cheers,
    Alana


Log in to reply
 

Inedo Website HomeSupport HomeCode of ConductForums GuideDocumentation