Discussion:
[users] How can run createrepo for multiple group files?
jupiter
2012-07-26 10:53:48 UTC
Permalink
Hi,

Sorry if I post it in a wrong mailing list.

I have a private rpm repository and I can set up one group file, but
not second group file. I run both "createrepo -g group1.xml
<repository>" and "createrepo -g group2.xml <repository>", but the
"yum grouplist" can only see group2, not group1. The first createrepo
-g group1.xml seems overwritten by last "createrepo -g group2.xml".

How I can run createrepo for multipl group files?

Thank you.

Kind regards,
Bjarne Saltbæk
2012-07-28 15:31:51 UTC
Permalink
Try using the "modifyrepo" program.It can inject a file into the repo config file. example:/usr/bin/modifyrepo /var/nfsroot/dist/updateinfo/centos5-x86_64/updateinfo.xml /var/www/mrepo/centos5-x86_64/RPMS.updates/repodata
That works for me :-) BR,Bjarne
Date: Thu, 26 Jul 2012 20:53:48 +1000
From: jupiter.hce at gmail.com
To: users at lists.repoforge.org
Subject: [users] How can run createrepo for multiple group files?
Hi,
Sorry if I post it in a wrong mailing list.
I have a private rpm repository and I can set up one group file, but
not second group file. I run both "createrepo -g group1.xml
<repository>" and "createrepo -g group2.xml <repository>", but the
"yum grouplist" can only see group2, not group1. The first createrepo
-g group1.xml seems overwritten by last "createrepo -g group2.xml".
How I can run createrepo for multipl group files?
Thank you.
Kind regards,
_______________________________________________
users mailing list
users at lists.repoforge.org
http://lists.repoforge.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.repoforge.org/pipermail/users/attachments/20120728/e76049f6/attachment.html
jupiter
2012-07-26 10:53:48 UTC
Permalink
Hi,

Sorry if I post it in a wrong mailing list.

I have a private rpm repository and I can set up one group file, but
not second group file. I run both "createrepo -g group1.xml
<repository>" and "createrepo -g group2.xml <repository>", but the
"yum grouplist" can only see group2, not group1. The first createrepo
-g group1.xml seems overwritten by last "createrepo -g group2.xml".

How I can run createrepo for multipl group files?

Thank you.

Kind regards,
Bjarne Saltbæk
2012-07-28 15:31:51 UTC
Permalink
Try using the "modifyrepo" program.It can inject a file into the repo config file. example:/usr/bin/modifyrepo /var/nfsroot/dist/updateinfo/centos5-x86_64/updateinfo.xml /var/www/mrepo/centos5-x86_64/RPMS.updates/repodata
That works for me :-) BR,Bjarne
Date: Thu, 26 Jul 2012 20:53:48 +1000
From: jupiter.hce at gmail.com
To: users at lists.repoforge.org
Subject: [users] How can run createrepo for multiple group files?
Hi,
Sorry if I post it in a wrong mailing list.
I have a private rpm repository and I can set up one group file, but
not second group file. I run both "createrepo -g group1.xml
<repository>" and "createrepo -g group2.xml <repository>", but the
"yum grouplist" can only see group2, not group1. The first createrepo
-g group1.xml seems overwritten by last "createrepo -g group2.xml".
How I can run createrepo for multipl group files?
Thank you.
Kind regards,
_______________________________________________
users mailing list
users at lists.repoforge.org
http://lists.repoforge.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.repoforge.org/pipermail/users/attachments/20120728/e76049f6/attachment-0002.html>
Loading...