get_packages function

All package dependencies on the server