LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-13-2008, 05:49 PM   #1
rowanu
LQ Newbie
 
Registered: Jul 2008
Posts: 6

Rep: Reputation: 0
yum grouplist setup on custom repo


just looking for a yum clarification that i haven't been able to find in the docco.

i have created a local repo with all the rpms from my linux discs (RHEL5), and run createrepo to generate the repodata. yum works for searches and single/pattern matched installs, but can't get any of the groups-based commands working. is there a way to generate the groups data through the createrepo command, or another app? if not, where can i get groups repodata for RHEL rpms?


cheers
 
Old 07-15-2008, 03:10 AM   #2
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978Reputation: 1978
When you have created the metadata, it probably missed the group information (or maybe it does not create group metadata by default). You can copy the repodata from the installation disc: look for comps-something.xml files (for example <disc-mount-point>/Client/repodata/comps-rhel5-client-core.xml. Then you need to recreate the repodata with option -g.

Here is an excerpt from the createrepo manual page:
Quote:
Here is an example of a repository with a groups file. Note that the groups file should be in the same directory as the rpm packages (i.e. /path/to/rpms/comps.xml).

createrepo -g comps.xml /path/to/rpms
 
Old 07-15-2008, 05:02 AM   #3
rowanu
LQ Newbie
 
Registered: Jul 2008
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks very much! I did that and it's showing up now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum grouplist doesn't work sycamorex Linux - Software 2 06-02-2008 01:01 PM
yum.conf - extract files from a DVD. How define repo location and what is yum command emuub Linux - Software 2 06-17-2007 07:28 AM
Yum cant seem to connect to any repo Zut50 Fedora 12 03-30-2006 02:44 PM
Gnome 2.10 yum repo nsk078 Fedora 1 04-01-2005 10:11 PM
adding mirror to yum.repo.d/<any-repo> ashwin_cse Fedora 1 03-10-2005 03:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:09 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration