# root
echo 'Acquire::ForceIPv4 "true;"' > /etc/apt/apt.conf.d/99force-ipv4
# root
echo 'Acquire::ForceIPv4 "true;"' > /etc/apt/apt.conf.d/99force-ipv4
# root echo 'Acquire::ForceIPv4 "true;"' > /etc/apt/apt.conf.d/99force-ipv4
# root echo 'Acquire::ForceIPv4 "true;"' > /etc/apt/apt.conf.d/99force-ipv4