Use yum API to setup the conversion transaction
Simplify the yes/no question
Use subprocess module instead of os.system

No shell required (a bit faster)
Reorder imports