Intsalling Anaconda on ubuntu/debian system is taking longer than 2 hours

I am trying to install Anaconda on VM with ubuntu, and it is taking longer than 2 hours. Tried stopping and reinstalling it, changing the VM’s , Changing from Ubuntu to Debian. Just to test it, went ahead deleted and re-installed it on my mac and it took less than 10 minutes. I cannot understand the problem, any help is appreciated. Thank you