0% [Connecting to in.archive.ubuntu.com (2001:67c:1560:8001::14)] [Connecting to security.ubuntu.com (2001:67c:1360:8001::17)]
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.
Save and close the file. From now on, APT will use IPv4 only.