Incompatibilities between createrepo-0.9.8-4.el6 and RHEL5: [Errno -3] Error performing checksum

"Fajar A. Nugraha" <[email protected]>
Newsgroups gmane.linux.rpm.yum
Message-ID <[email protected]>
I was planning to migrate our internal yum repository to to a server
running RHEL6 when I noticed something's not working. Repositories
created using RHEL6's createrepo-0.9.8-4.el6 is not usable in RHEL5 +
yum 3.2.27 (tested using both self-compiled and RPM from
http://people.redhat.com/jantill/yum/5-from-6)

######################################################################################
# yum -d 9 --noplugins --disablerepo="*" --enablerepo=test list available
Config time: 0.039
repo time: 0.000
Yum Version: 3.2.27
COMMAND: yum -d 9 --noplugins --disablerepo=* --enablerepo=test list available
Installroot: /
Ext Commands:

  available
Setting up Package Sacks
test
                                                              | 1.3
kB     00:00
test/primary
                                                              | 1.3
kB     00:00
http://yum.telkom.net.id/test/repodata/primary.xml.gz: [Errno -3]
Error performing checksum
Trying other mirror.
http://yum.telkom.net.id/test/repodata/primary.xml.gz: [Errno 9]
Requested Range Not Satisfiable
Trying other mirror.
Error: failure: repodata/primary.xml.gz from test: [Errno 256] No more
mirrors to try.
######################################################################################


The same repo works fine on RHEL6
######################################################################################
# yum -d9 --noplugins --disablerepo=* --enablerepo=test list available
Config time: 0.033
repo time: 0.000
Yum Version: 3.2.27
COMMAND: yum -d9 --noplugins --disablerepo=* --enablerepo=test list available
Installroot: /
Ext Commands:

  available
Setting up Package Sacks
test
                                                              | 1.3
kB     00:00
test/primary
                                                              | 1.3
kB     00:00
test

          1/1
pkgsack time: 2.061
Reading Local RPMDB
rpmdb time: 0.000
Available Packages
zsh.x86_64
  4.3.10-4.1.el6
          test
######################################################################################

When I downgrade to RHEL5's createrepo-0.4.11-3.el5 (still running on
RHEL6) both RHEL5 and 6 can use it just fine. Is this a known issue?

-- 
Fajar
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.