repo update before reinstalling OS