There are answers for disabling ipv6 is it possible to force ipv6 instead?
already using https://archlinux.org/mirrorlist/ to select ipv6-capable mirrors
Have you set your system to prefer it in gai.conf?
https://wiki.archlinux.org/title/IPv6#Prefer_IPv4_over_IPv6
You said enforce in the post, but prefer in a comment. Do you mean prefer ipv6, or disable ipv4?
Maybe if you found some way to run it in a namespace with no ipv4 network.
that would work, yes, thank you
You could use a dns server that does not offer any A records.
The answers for disabling ipv6 should be giving you the hints needed to force it as well.
the opposite of disabling ipv6 is not enforcing it I’d prefer a way to “prefer” ipv6 juist like most browsers do nowadays when using pacman, IF there is one
I’m having a hard time finding anything relating to it in pacman source, but it looks like the only option is the ‘scorched earth’ method of forcing ipv6 on the whole machine rather than just pacman only.
There’s also the mirrorlist generator – https://archlinux.org/mirrorlist/
You could always just generate only ipv6 mirror list.
just block ipv6 at router-level