Repository navigation
Does Aptly support arch variants? (such as amd64v3) #1501
|
Hey folks! So architecture variants have been around for a bit now. Go itself added support for amd64 variants in the Go v1.17 release. Yesterday, Ubuntu has announced that they will be adding support in their repositories for the first time. This got me thinking, does Aptly have support for this? Or maybe, does Aptly even need to support this or is this simply built into the .debs themselves? |
Replies: 8 comments 1 reply
|
Hi @FelicianoTech ! I don't think aptly enforces architectures anywhere, but until there is a repo to test (and see how ubuntu supports this) it is difficult to say, but I am rather positive... :) |
|
+1 Ubuntu's intended behavior for architecture variants seems to be that the system remains amd64, while amd64v3 is used only as an optimized variant when available, with fallback to normal amd64 packages. However, when using an Aptly-published mirror containing both amd64 and amd64v3, APT appears to use only the amd64v3 On the same host, with the same My Aptly mirror/publish includes those architectures: To me the issue seems related to how Aptly publishes/represents repositories with architecture variants, please advice. Thanks, |
|
I think aptly lacks support for architecture variants, at least there is no mention of them. We would need to implement this feature I guess, I'll be happy to review some PRs ! |
|
@Zohman could you please share how you created that mirror ? |
|
Similarly to Zohman, I have a resolute mirror. I initially mirrored it with -architectures="amd64,i386" then edited that to -architectures="amd64,i386,amd64v3". When that mirror is run I get a lot of messages like "[!] skipping package 3cpio_0.14.0-1ubuntu1_amd64: duplicate in packages index". In the binary-amd64v3/Packages.gz file, the packages are marked as "Architecture: amd64" and "Architecture-Variant: amd64v3". However the filename is marked _amd64v3: "Filename: pool/main/r/rust-threecpio/3cpio_0.14.0-1ubuntu1_amd64v3.deb". At a guess, this means aptly needs to understand Architecture-Variant in its own database. |
|
PR #1638 adds support for architecture variants. |
|
Hi everyone ! thanks to @hjmitsd there is s PR ! could you please test the binaries from the PR here: https://github.com/aptly-dev/aptly/actions/runs/41295063545?pr=1638 |
|
Hi all ! support for arch-variants was merged to master :) please test he binaries from the pipeline here: https://github.com/aptly-dev/aptly/actions/runs/42244794508 |
Hi all !
support for arch-variants was merged to master :)
please test he binaries from the pipeline here: https://github.com/aptly-dev/aptly/actions/runs/42244794508