Re: rpm "update" package to older version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux