Making sure package list is updated before installing