ensure packages and services are defined properly