[CentOS] how to find last updates for Centos 5.3?

Brian Mathis brian.mathis at gmail.com
Mon Dec 7 23:19:20 UTC 2009

On Mon, Dec 7, 2009 at 6:12 PM, John R Pierce <pierce at hogranch.com> wrote:
> Lars Hecking wrote:
>>> Any ideas about how to go back in time and get the last 5.3 update batch??
>>  Grab a copy of centos/5.3/updates along with centos/5.3/os from your
>>  nearest CentOS mirror and set up your own local repository.
> that's been purged from the mirrors.

Not true, and it's the thing that's most irritating about this policy.
 The RPMs are still there, just not the sqlite repodata files that yum
needs.  So if you got to a mirror, you can see all of the files, but
yum doesn't work.

The only way is to make your own repo.  You need to mirror the files
you want, then install "createrepo".  After you've got that installed:
    cd centos/5.3
    for dir in */x86_64/ */i386/
        createrepo --database $dir

Then you can make a new repo file in /etc/yum.repos.d pointing to your
new location.

More information about the CentOS mailing list