Solution to hanging apt update on "Connecting to security.ubuntu.com" on Ubuntu 16.04 LTS

Hi there,

when I installed ERPNext on Ubutnu 16.04 LTS the installation stopped at “apt update” on “Connecting to security.ubuntu.com

This seems to be an IPv4/IPv6 problem.

The solution is here:
https://zach-adams.com/2015/01/apt-get-cant-connect-to-security-ubuntu-fix/

best regards
doca