auto install till all packages are installed