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

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

 



On Tue, 11 Jan 2011 04:58:11 +0700
"Fajar A. Nugraha" <fajar@xxxxxxxxx> wrote:

> 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?

Try using:

createrepo --checksum sha

Paul.
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux