Inedo Community Forums Forums
    • Recent
    • Tags
    • Popular
    • Login
    1. Home
    2. eric.van.orsouw_4486
    3. Posts

    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!

    E Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Groups 0

    Posts

    Recent Best Controversial
    • Alpine noarch as x86_64 packages

      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?

      posted in Support
      E
      eric.van.orsouw_4486
    • 1 / 1