Re: how to find last updates for Centos 5.3?

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



On Mon, Dec 7, 2009 at 6:12 PM, John R Pierce <pierce@xxxxxxxxxxxx> 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/
    do
        createrepo --database $dir
    done

Then you can make a new repo file in /etc/yum.repos.d pointing to your
new location.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux