[CentOS] Downgrade an rpm

Mon Mar 31 15:50:19 UTC 2008
Bob Taylor <bob8221 at gmail.com>

On Mon, 2008-03-31 at 16:38 +0200, Rudi Ahlers wrote:
> Kai Schaetzl wrote:
> > Joseph L. Casale wrote on Mon, 31 Mar 2008 07:42:24 -0600:
> >
> >   
> >> In that scenario, how does one force a downgrade?
> >>     
> >
> > On first thought: Force an uninstall via yum (if yum won't do it, use 
> > rpm), install the older version via yum (if available from rpmforge) and 
> > then exclude it (and probably all related rpms) from yum updating.
> >
> > There may be better ways.
> >
> > Kai
> >
> >   
> Well, yes that could work. use "yum erase package name" to remove it. 
> But, can one install a specific version of a package from the yum command?
> 

Use rpm -i --oldpackage filename?
-- 
Bob Taylor