[CentOS] Yum corrupting RPMs

Tue Aug 26 02:10:07 UTC 2008
NiftyClusters Mitch <niftycluster at niftyegg.com>

On Sun, Aug 24, 2008 at 6:24 PM, Tom Lanyon <tom at netspot.com.au> wrote:
> Hi list,
>
> Trying to upgrade someone's workstation here to 5.2 (was installed from a
> 5.0 DVD I think).
>
> The RPMs on our internal mirror are in-tact and pass a 'rpm --checksig'
> test, yet when I run a 'yum upgrade' a large portion of them are corrupted
> and fail the GPG check.
>

Since yum has a local cache you may need
to invoke one of the "clean" flags for yum.
    * clean [ packages | headers | metadata | dbcache | all ]

If you do a clean all we will not know which of the set  is bogus...
My bet is the dbcache.... with metadata to show.

Given what we now know, it might be good to copy the cache of
packages and do a local compare of any that are freshly downloaded.

Since yum depends on RPM you should be able to download individual
packages and then inspect each with RPM tools as you are doing...


-- 
 NiftyCluster
 T o m M i t c h e l l