merged check-install-packages