only refresh package list if there are required packages that are missing