Should work I think.
Maybe there was a hickup, try again with
--refresh-dependencies
if it still does not work, make sure you do not need some proxy to access external system or similar and that you do not have a firewall or antivirus that interferes.