New criterion for installation with minimal set of packages