Install works on Ubuntu 18.04 64 Bit but fails with Ubuntu 22.04 64 Bit

There seems to be an issue with ipv6. There are some posts here on the forum to completely disable the ipv6 stack. Maybe that helps. (e.g. sudo sysctl -w net.ipv6.conf.all.autoconf=0)
Alternatively, the solution described here might help.