[CentOS] Downgrade libgcc & gcc packages (is there a clean way)

Mon Aug 9 18:38:28 UTC 2010
m.roth at 5-cent.us <m.roth at 5-cent.us>

m.roth at 5-cent.us wrote:
> Dan Burkland wrote:
>> Machine is running 5.3 and somehow both packages got updated to
>> libgcc-4.1.2-48.el5 when they need to be libgcc-4.1.2-44.el5. The DBAs
>> here perform the Oracle Grid Control client install however they said it
>> will not install it if detects an incorrect package version.
>>
>  downgrade
>             Will try and downgrade a package from the version currently
> installed  to  the previously highest version (or the specified
version).  The
> depsolver will not necessarily work, but if you specify all the 
packages  it
> should  work  (and thus.  all  the  simple cases will work). Also this
does not
> work for "instal- lonly" packages, like Kernels. downgrade operates on
groups,
> files,  provides and filelists just like the "install" command.
>
Oh, and I'd put into the yum.conf to exclude those packages from
upgrading, to avoid this happening again.

      mark