prefere repos with higher priority
replace old dist version when we are reinstalling it