1

I want install various software on Ubuntu. I get stuck here, when I do:

sudo apt-get update

0% [Connecting to archive.ubuntu.com (91.189.88.152)] [Connecting to archive.canonical.com (91.189.92.191)] [Connecting to security.ubuntu.com (91.189.88.162)]

I have tried this help, but still no answer,

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

apt-get update stuck: Connecting to security.ubuntu.com

3 Answers3

1

For me it was getting stuck at in.archive.ubuntu.com . I tried forcing IPV4 but this didn't work.

sudo apt-get update -o Acquire::ForceIPv4=true

It seems India server was down for sometime . I tried the following on Ubuntu 20.04 and this worked like a charm.

software & updates -> ubuntu software -> Download From -> Select Main server instead of India server or which ever works for you.

o007
  • 11
0

Try this . The solutions above relate to a common ipv6 related issue. If it still doesn't work can you provide the exact error msg. I have tried & that solution worked fine for me.

0

Its just the firewall. Just disable firewall in the console.

Run this:

sudo ufw disable

And your problem should be solved