Fix dependency install order
list_packages and installed?