Is it possible to set a dependency on the "latest" package version

Hi… can i get some help please? "cannot establish connection" diagnose help