import, adopt and upgrade rpm