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!

    Alpine noarch as x86_64 packages

    Scheduled Pinned Locked Moved Support
    3 Posts 2 Posters 8 Views
    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.
    • E Offline
      eric.van.orsouw_4486
      last edited by

      I am trying to pull a series of Alpine packages from a proget installation that I cloned there from the original Alpine repo. Some packages are natively noarch because they contain no binary executable code. Now when retrieving the APKINDEX.tar.gz from a x86_64 environment, the Alpine repo automatically includes noarch packages.
      The ProGet environment does not automatically include noarch packages when getting the APKINDEX.tar.gz from a non-noarch environment.

      As an example, try installing lddtree, which is just scripts hence noarch.
      When doing it from the Alpine repo;

      $ echo "https://dl-cdn.alpinelinux.org/alpine/v3.21/main" > repositories
      $ apk add lddtree
      fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
      (1/1) Installing lddtree (1.27-r0)
      Executing busybox-1.37.0-r12.trigger
      OK: 704 MiB in 193 packages
      

      And when doing the same from ProGet;

      $ echo "http://<my-proget>:8624/apk/MyPackages" > repositories
      $ apk add lddtree
      ERROR: unable to select packages:
        lddtree (no such package):
          required by: world[lddtree]
      

      Now I can always manually create x86_64 for each noarch package but maintenance-wise this is not desirable. Is anyone aware of a solution or an easy workaround?

      1 Reply Last reply Reply Quote 0
      • gdivisG Offline
        gdivis inedo-engineer
        last edited by

        Thanks for pointing this out! We missed this detail of the APKINDEX specification and will get this fixed as PG-3132, likely in this week's release of v2025.12 on Friday, but potentially in a later maintenance release if it is more complex than expected.

        1 Reply Last reply Reply Quote 0
        • gdivisG Offline
          gdivis inedo-engineer
          last edited by

          This would be a relatively easys change to make, but we'd like to be able to test it against a public repository that has noarch packages included in its index. The https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz index file doesn't seem to have anything except x86_64 packages in it. Is there a good public repo we can use as a solid source of working example data?

          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