Apt Disable Ipv6

[Solved] Apt Disable Ipv6 | Shell - Code Explorer | yomemimo.com
Question : apt disable ipv6

Answered by : tiago-frana

apt-get -o Acquire::ForceIPv4=true update
#To make the setting persistent, create the file 99force-ipv4 in /etc/apt/apt.conf.d/.
sudo nano /etc/apt/apt.conf.d/99force-ipv4
#Put the following contents in it:
Acquire::ForceIPv4 "true";

Source : https://www.vultr.com/docs/force-apt-get-to-ipv4-or-ipv6-on-ubuntu-or-debian/ | Last Update : Tue, 17 May 22

Answers related to apt disable ipv6

Code Explorer Popular Question For Shell