rpm "update" package to older version
James Antill
james at fedoraproject.org
Fri Apr 16 03:56:24 UTC 2010
On Thu, 2010-04-15 at 22:32 -0500, Thawan Kooburat wrote:
> Hi,
>
> 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.
What version of rpm is this? With 4.7.2, I get:
% sudo yum down rsync
[...]
Running Transaction
Installing : rsync-3.0.6-3.fc12.x86_64 1/2
Cleanup : rsync-3.0.7-2.fc12.x86_64 2/2
More information about the Rpm-list
mailing list