Why would you want to do that? pacman attempts to connect via IPv6 first anyway.
this post was submitted on 13 Aug 2024
8 points (100.0% liked)
Arch Linux
7739 readers
1 users here now
The beloved lightweight distro
founded 4 years ago
MODERATORS
autistic fixation with IPV6
This should be the default systemwide.
Is your IPv6 behind NAT (like on a VPN)? See https://wiki.archlinux.org/title/Mullvad#Preferring_IPv6_inside_the_tunnel
You could use a custom XferCommand
command per PACMAN.CONF(5)
with wget using -6
Something like this might work:
XferCommand = /usr/bin/wget -6 -c -O %o %u