强制apt使用IPv4

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
# 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

 

Leave a Reply

Your email address will not be published. Required fields are marked *