For my RHEL/CentOS 6-only repos, I use "-c cache --update -C" for createrepo flags.

For 5-only and 5/6, I use "-c cache -s sha"

 

 

Owen Mann, Interactive Data Real Time Services
60 Codman Hill Rd, Boxborough, MA 01719
978-795-3758 owen.mann@interactivedata.com

 

From: cobbler-bounces@lists.fedorahosted.org [mailto:cobbler-bounces@lists.fedorahosted.org] On Behalf Of Greg Swift
Sent: Sunday, April 22, 2012 12:57 PM
To: cobbler mailing list
Subject: Re: [cobbler] cobbler and centos 6.2

 

I dont know about the sha but i believe 5.8 got xz support in rpm.  I:d be curious to see what happens if he updates.

On Apr 22, 2012 9:30 AM, "Jörgen Maas" <jorgen.maas@gmail.com> wrote:

On Tue, Apr 17, 2012 at 8:38 PM, Russ Lavoy <ussray_00@yahoo.com> wrote:

Hello,

I am trying to update my systems to centos 6.2.  I am having an issue with the repositories for 6.2 on a CentOS 5.7 Cobbler server.  It tells me "unable to read group information from repositories.  This is a problem with the generation of your install tree."  However, the repositories work just fine if I point an existing centos 6 server to them and try to install anything from them.  Its only when I am kickstarting and trying to install over HTTP that this fails.

To get this to work, I had to remove the repmod.xml and redownload it from my internet source. Are the createrepo flags needing to be changed a bit to support both operating systems?


From: http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Deployment_Guide/sec-Creating_a_Yum_Repository.html

Because RPM packages for Red Hat Enterprise Linux 6 are compressed using the XZ lossless data compression format, and may also be signed using alternative (and stronger) hash algorithms such as SHA-256, it is not possible to run createrepo on Red Hat Enterprise Linux 5 to create the package metadata for Red Hat Enterprise Linux 6 packages. The createrepo command relies on rpm to open and inspect the packages, and rpm on Red Hat Enterprise Linux 5 is not able to open the improved Red Hat Enterprise Linux 6 RPM package format.

HTH

--
Grtz,
Jörgen Maas


_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler



*******************************************************
This message (including any files transmitted with it) may contain confidential and/or proprietary information, is the property of Interactive Data Corporation and/or its subsidiaries, and is directed only to the addressee(s). If you are not the designated recipient or have reason to believe you received this message in error, please delete this message from your system and notify the sender immediately. An unintended recipient's disclosure, copying, distribution, or use of this message or any attachments is prohibited and may be unlawful.
*******************************************************