When I am doing sudo apt-get update I got stuck at this : [duplicate]

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite













This question already has an answer here:



  • apt-get stuck at 0 [Connecting to us.archive.ubuntu.com]

    4 answers



0% [Connecting to in.archive.ubuntu.com (2001:67c:1560:8001::14)] [Connecting to security.ubuntu.com (2001:67c:1360:8001::17)]







share|improve this question











marked as duplicate by David Foerster, Kevin Bowen, karel, Fabby, Eric Carvalho Jun 2 at 12:59


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • You may try disabling ipv6.
    – bistoco
    Jun 1 at 13:07










  • Do you use any VPN. if so, disable VPN and try again, if still not working try disable ipv6.
    – Cornea Valentin
    Jun 1 at 13:09















up vote
0
down vote

favorite













This question already has an answer here:



  • apt-get stuck at 0 [Connecting to us.archive.ubuntu.com]

    4 answers



0% [Connecting to in.archive.ubuntu.com (2001:67c:1560:8001::14)] [Connecting to security.ubuntu.com (2001:67c:1360:8001::17)]







share|improve this question











marked as duplicate by David Foerster, Kevin Bowen, karel, Fabby, Eric Carvalho Jun 2 at 12:59


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.














  • You may try disabling ipv6.
    – bistoco
    Jun 1 at 13:07










  • Do you use any VPN. if so, disable VPN and try again, if still not working try disable ipv6.
    – Cornea Valentin
    Jun 1 at 13:09













up vote
0
down vote

favorite









up vote
0
down vote

favorite












This question already has an answer here:



  • apt-get stuck at 0 [Connecting to us.archive.ubuntu.com]

    4 answers



0% [Connecting to in.archive.ubuntu.com (2001:67c:1560:8001::14)] [Connecting to security.ubuntu.com (2001:67c:1360:8001::17)]







share|improve this question












This question already has an answer here:



  • apt-get stuck at 0 [Connecting to us.archive.ubuntu.com]

    4 answers



0% [Connecting to in.archive.ubuntu.com (2001:67c:1560:8001::14)] [Connecting to security.ubuntu.com (2001:67c:1360:8001::17)]





This question already has an answer here:



  • apt-get stuck at 0 [Connecting to us.archive.ubuntu.com]

    4 answers









share|improve this question










share|improve this question




share|improve this question









asked Jun 1 at 13:05









Anshul Goyal

1




1




marked as duplicate by David Foerster, Kevin Bowen, karel, Fabby, Eric Carvalho Jun 2 at 12:59


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.






marked as duplicate by David Foerster, Kevin Bowen, karel, Fabby, Eric Carvalho Jun 2 at 12:59


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.













  • You may try disabling ipv6.
    – bistoco
    Jun 1 at 13:07










  • Do you use any VPN. if so, disable VPN and try again, if still not working try disable ipv6.
    – Cornea Valentin
    Jun 1 at 13:09

















  • You may try disabling ipv6.
    – bistoco
    Jun 1 at 13:07










  • Do you use any VPN. if so, disable VPN and try again, if still not working try disable ipv6.
    – Cornea Valentin
    Jun 1 at 13:09
















You may try disabling ipv6.
– bistoco
Jun 1 at 13:07




You may try disabling ipv6.
– bistoco
Jun 1 at 13:07












Do you use any VPN. if so, disable VPN and try again, if still not working try disable ipv6.
– Cornea Valentin
Jun 1 at 13:09





Do you use any VPN. if so, disable VPN and try again, if still not working try disable ipv6.
– Cornea Valentin
Jun 1 at 13:09











1 Answer
1






active

oldest

votes

















up vote
1
down vote













You receive this error because APT is trying to use IPv6. Quick fix it's to set APT only for IPv4, run the following command to create a configuration file for APT.



sudo nano /etc/apt/apt.conf.d/99force-ipv4



Copy and paste the following line into the file.



Acquire::ForceIPv4 "true";



Save and close the file. From now on, APT will use IPv4 only.






share|improve this answer























  • In which extension do i have to save this file?
    – Anshul Goyal
    Jun 2 at 2:04










  • just copy paste /etc/apt/apt.conf.d/99force-ipv4
    – Cornea Valentin
    Jun 2 at 6:11










  • also if not working my answer take a look here: askubuntu.com/questions/574569/…
    – Cornea Valentin
    Jun 2 at 6:28

















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote













You receive this error because APT is trying to use IPv6. Quick fix it's to set APT only for IPv4, run the following command to create a configuration file for APT.



sudo nano /etc/apt/apt.conf.d/99force-ipv4



Copy and paste the following line into the file.



Acquire::ForceIPv4 "true";



Save and close the file. From now on, APT will use IPv4 only.






share|improve this answer























  • In which extension do i have to save this file?
    – Anshul Goyal
    Jun 2 at 2:04










  • just copy paste /etc/apt/apt.conf.d/99force-ipv4
    – Cornea Valentin
    Jun 2 at 6:11










  • also if not working my answer take a look here: askubuntu.com/questions/574569/…
    – Cornea Valentin
    Jun 2 at 6:28














up vote
1
down vote













You receive this error because APT is trying to use IPv6. Quick fix it's to set APT only for IPv4, run the following command to create a configuration file for APT.



sudo nano /etc/apt/apt.conf.d/99force-ipv4



Copy and paste the following line into the file.



Acquire::ForceIPv4 "true";



Save and close the file. From now on, APT will use IPv4 only.






share|improve this answer























  • In which extension do i have to save this file?
    – Anshul Goyal
    Jun 2 at 2:04










  • just copy paste /etc/apt/apt.conf.d/99force-ipv4
    – Cornea Valentin
    Jun 2 at 6:11










  • also if not working my answer take a look here: askubuntu.com/questions/574569/…
    – Cornea Valentin
    Jun 2 at 6:28












up vote
1
down vote










up vote
1
down vote









You receive this error because APT is trying to use IPv6. Quick fix it's to set APT only for IPv4, run the following command to create a configuration file for APT.



sudo nano /etc/apt/apt.conf.d/99force-ipv4



Copy and paste the following line into the file.



Acquire::ForceIPv4 "true";



Save and close the file. From now on, APT will use IPv4 only.






share|improve this answer















You receive this error because APT is trying to use IPv6. Quick fix it's to set APT only for IPv4, run the following command to create a configuration file for APT.



sudo nano /etc/apt/apt.conf.d/99force-ipv4



Copy and paste the following line into the file.



Acquire::ForceIPv4 "true";



Save and close the file. From now on, APT will use IPv4 only.







share|improve this answer















share|improve this answer



share|improve this answer








edited Jun 1 at 13:28


























answered Jun 1 at 13:21









Cornea Valentin

857




857











  • In which extension do i have to save this file?
    – Anshul Goyal
    Jun 2 at 2:04










  • just copy paste /etc/apt/apt.conf.d/99force-ipv4
    – Cornea Valentin
    Jun 2 at 6:11










  • also if not working my answer take a look here: askubuntu.com/questions/574569/…
    – Cornea Valentin
    Jun 2 at 6:28
















  • In which extension do i have to save this file?
    – Anshul Goyal
    Jun 2 at 2:04










  • just copy paste /etc/apt/apt.conf.d/99force-ipv4
    – Cornea Valentin
    Jun 2 at 6:11










  • also if not working my answer take a look here: askubuntu.com/questions/574569/…
    – Cornea Valentin
    Jun 2 at 6:28















In which extension do i have to save this file?
– Anshul Goyal
Jun 2 at 2:04




In which extension do i have to save this file?
– Anshul Goyal
Jun 2 at 2:04












just copy paste /etc/apt/apt.conf.d/99force-ipv4
– Cornea Valentin
Jun 2 at 6:11




just copy paste /etc/apt/apt.conf.d/99force-ipv4
– Cornea Valentin
Jun 2 at 6:11












also if not working my answer take a look here: askubuntu.com/questions/574569/…
– Cornea Valentin
Jun 2 at 6:28




also if not working my answer take a look here: askubuntu.com/questions/574569/…
– Cornea Valentin
Jun 2 at 6:28


Popular posts from this blog

pylint3 and pip3 broken

Missing snmpget and snmpwalk

How to enroll fingerprints to Ubuntu 17.10 with VFS491