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
 

I'm using IPV6-able mirrors

is it possible to force pacman to use IPV6 only, other than disabling IPV4 in the whole system?

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 2 months ago (1 children)

Why would you want to do that? pacman attempts to connect via IPv6 first anyway.

[–] [email protected] 1 points 2 months ago

autistic fixation with IPV6

[–] [email protected] 1 points 2 months ago

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

[–] [email protected] 1 points 2 months ago* (last edited 2 months ago)

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