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
-
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.gzfrom a x86_64 environment, the Alpine repo automatically includes noarch packages.
The ProGet environment does not automatically include noarch packages when getting theAPKINDEX.tar.gzfrom 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 packagesAnd 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?
-
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.
-
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
noarchpackages included in its index. Thehttps://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gzindex file doesn't seem to have anything exceptx86_64packages in it. Is there a good public repo we can use as a solid source of working example data?
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