Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login

    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 feed can't be browsed

    Scheduled Pinned Locked Moved Support
    4 Posts 2 Posters 12 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W Offline
      wechselberg.nisboerge_3629
      last edited by

      We are hosting an RPM feed, which can't be used in the UI anymore, because if only shows this error:
      bc142c17-74fd-451f-8884-bda616841f58-grafik.png

      This is logged in the Diagnostics Center.

      The archive entry was compressed using an unsupported compression method.
      
      System.IO.InvalidDataException: The archive entry was compressed using an unsupported compression method.
         at System.IO.Compression.Inflater.Inflate(FlushCode flushCode)
         at System.IO.Compression.Inflater.ReadInflateOutput(Byte* bufPtr, Int32 length, FlushCode flushCode, Int32& bytesRead)
         at System.IO.Compression.Inflater.ReadOutput(Byte* bufPtr, Int32 length, Int32& bytesRead)
         at System.IO.Compression.Inflater.InflateVerified(Byte* bufPtr, Int32 length)
         at System.IO.Compression.DeflateStream.CopyToStream.Write(Byte[] buffer, Int32 offset, Int32 count)
         at System.IO.Compression.DeflateStream.CopyToStream.CopyFromSourceToDestination()
         at Inedo.ProGet.Feeds.Rpm.Metadata.RpmHeader.Inedo.ProGet.Feeds.IPackageManifest<Inedo.ProGet.Feeds.Rpm.Metadata.RpmHeader>.ReadMetadataFromDataRow(IPackageVersionTable row) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E593291\Src\src\ProGet\Feeds\Rpm\Metadata\RpmHeader.cs:line 205
         at Inedo.ProGet.Feeds.PackageFeed`5.LocalPackageMetadata..ctor(TPackageVersionRow row) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E593291\Src\src\ProGet\Feeds\PackageFeed.PackageGet.cs:line 372
         at Inedo.ProGet.Feeds.Rpm.RpmFeed.GetLocalPackage(FeedPackageVersions_Extended row) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E593291\Src\src\ProGet\Feeds\Rpm\RpmFeed.cs:line 293
         at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext()
         at System.Collections.Generic.HashSet`1.UnionWith(IEnumerable`1 other)
         at System.Collections.Generic.HashSet`1..ctor(IEnumerable`1 collection, IEqualityComparer`1 comparer)
         at System.Linq.Enumerable.ToHashSet[TSource](IEnumerable`1 source, IEqualityComparer`1 comparer)
         at Inedo.ProGet.Feeds.PackageFeed`5.SearchLatestPackagesAsync(String query, Nullable`1 maxCount, Boolean includePrerelease, CancellationToken cancellationToken)
         at Inedo.ProGet.Feeds.PackageFeed`5.Inedo.ProGet.Feeds.IPackageFeed.SearchLatestPackagesAsync(String query, Nullable`1 maxCount, Boolean includePrerelease, CancellationToken cancellationToken) in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E593291\Src\src\ProGet\Feeds\PackageFeed.PackageGet.cs:line 61
         at Inedo.ProGet.WebApplication.Pages.Packages.ListPackagesPage.PackageList.InitializeAsyncInternal() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E593291\Src\src\ProGet\WebApplication\Pages\Packages\ListPackagesPage.PackageList.cs:line 61
         at Inedo.ProGet.WebApplication.Pages.Packages.ListPackagesPage.PackageList.InitializeAsync() in C:\Users\builds\AppData\Local\Temp\InedoAgent\BuildMaster\192.168.44.60\Temp\_E593291\Src\src\ProGet\WebApplication\Pages\Packages\ListPackagesPage.PackageList.cs:line 43
      
      ::Web Error on 09/17/2025 11:58:42::
      
      stevedennisS 1 Reply Last reply Reply Quote 0
      • stevedennisS Offline
        stevedennis inedo-engineer @wechselberg.nisboerge_3629
        last edited by

        Hi @wechselberg-nisboerge_3629 ,

        This error is the result of a "bad rpm package" (basically one that is compressed using a method we don't support) getting accepted into ProGet. It should have been rejected on load -- if ProGet cannot open a package file due to unsupported compression, then I'm not sure how it would have indexed the package.

        You should be able to find which package it is by going to the "packages" tab at the top of the UI; when you click on the rpm package, it will give a similar error.

        How did you add this package? What package is it? This is an error we can definitely fix if we can figurer out how you got the unsupported package in there.

        Thanks,
        Steve

        1 Reply Last reply Reply Quote 0
        • W Offline
          wechselberg.nisboerge_3629
          last edited by

          Hi,

          it somehow healed "itself"? This morning it presented me with Issues in the feed and I started a reindex. Now I can browse the feed again.

          The data was originally uploaded from a build in jenkins through curl:

          curl --parallel --user usr:psw --config config.txt
          

          with the config.txt file like this
          config.txt-Schema:

          url = "https://<proget_url>/rpm/archive_name"
          upload-file="rpm_1"
          .
          .
          .
          url = "https://<proget_url>/rpm/archive_name"
          upload-file="rpm_13861"
          
          stevedennisS 1 Reply Last reply Reply Quote 0
          • stevedennisS Offline
            stevedennis inedo-engineer @wechselberg.nisboerge_3629
            last edited by

            Hi @wechselberg-nisboerge_3629 ,

            Given how you uploaded the file, the only scenario that I could see this happening is if the file on disk is somehow corrupted. For example, if you were to locate one of the .rpm files on disk and change a few bytes with a hex editor, I would expect this exact error to occur.

            A feed reindex could would never fix this and obviously files cannot "heal themselves". However, this is exactly how hardware behaves, so I would look into that.

            Thanks,
            Steve

            1 Reply Last reply Reply Quote 0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • 1 / 1
            • First post
              Last post
            Inedo Website Home • Support Home • Code of Conduct • Forums Guide • Documentation