rpm "update" package to older version

Thawan Kooburat kthawan at gmail.com
Fri Apr 16 03:32:00 UTC 2010


I would like to know if it is possible to downgrade a package in a
similar manner as upgrading a package

I tried this option

rpm -Uvh --replacepkgs --oldpackage foo-old.rpm

but it seems like it go through this sequence

remove foo-new.rpm
install foo-old.rpm

instead of installing old version and then remove the new version
which is a normal "update" sequence

I also notice that yum downgrade also execute remove first then
install the old version.

Thawan Kooburat

Graduate Student
Department of Computer Science

More information about the Rpm-list mailing list