[tools] repodata xml vs headers.info
Lamont Granquist
lamont at scriptkiddie.org
Wed Sep 5 20:08:27 CEST 2007
I apparently duplicated this work:
if ( $rhver =~ /CentOS release 3/i ) {
# RHEL3/CentOS3: install back-ported CentOS4 yum RPMs
system("rpm -ivh http://XXX/centos/3.7/os/i386/RedHat/RPMS/libxml2-2.5.10-7.i386.rpm");
system("rpm -ivh http://XXX/centos/3.7/os/i386/RedHat/RPMS/libxml2-python-2.5.10-7.i386.rpm");
system("rpm -Uvh http://XXX/3/noarch/centos-yumconf-4-4.5.RHEL3.noarch.rpm http://XXX/3/noarch/python-urlgrabber-2.9.8-2.RHEL3.noarch.rpm http://XXX/3/noarch/yum-2.4.3-1.RHEL3.noarch.rpm http://XXX/3/i386/python-elementtree-1.2.6-4.2.1.RHEL3.i386.rpm http://XXX/3/i386/python-sqlite-1.1.7-1.2.RHEL3.i386.rpm http://XXX/3/i386/sqlite-3.3.3-1.2.RHEL3.i386.rpm");
}
The last line has a bunch of RPMs recompiled from CentOS4 to run on
CentOS3. I probably fixed some stuff in the spec files, but that went
fairly smoothly. Backporting yum-2.4.3 to RH7.3 was much harder.
I did the work before I realized that headers.info and repodata.xml would
coexist peacefully on the repository...
On Wed, 5 Sep 2007, Tom G. Christensen wrote:
> John Lee wrote:
>> Hi,
>>
> <snip>
>> Why do I need to do this? Because the problem is that my RHEL3 machines
>> are looking for the headers.info file instead (running yum 2.0.x). Why
>> don't I just upgrade yum version to 2.4.x on my RHEL3 machines? Because
>> upgrade but that also gets hairy as it has crazy dependency issues (db4,
>> libstdc++, etc).
>>
> The CentOS guys ran a beta some time ago with Yum 2.4 for CentOS3. It seemed
> to work fine and it didn't need any upgrades. They fixed it up to work with
> python 2.2 and everything.
>
> More info here:
> http://blog.danieldk.org/post/2007/05/10/yum-metadata-parser-for-yum-24
> Packages are here:
> http://dev.centos.org/centos/3/testing/i386/RPMS/
>
> I'm not sure why it hasn't been pushed to production, initial reactions where
> positive.
>
> -tgc
>
>
> _______________________________________________
> tools mailing list
> tools at lists.rpmforge.net
> http://lists.rpmforge.net/mailman/listinfo/tools
>
More information about the tools
mailing list