Panu and all, Thanks a lot for reply. I've see a lot of helpful geniuses here... My new question is: how to show the packages defined in my own custom groups with a format similar to FC4 distro's comps.xml file? 'yum groupinstall <my_own_group>' works perfectly, while 'yum groupinfo' shows only enclosed group names, not packages in the enclosed groups. I've tried to run 'repoquery -l -g <my_own_group>', but this time even worse: it reports no output at all. although 'repoquery -l -g core' and 'repoquery -l -g base' reports all packages inside. Any ideas of why this happened? I'm running FC4, yum-2.4.1-1.fc4.noarch, yum-utils-0.3.1-1.fc4.noarch and python-2.4.1-2.x86_64. my repo definition file is put under /etc/yum.repos.d/ and attached with this email, The hand-crafted comps.xml for our own packages installation is also attached. B/c it is FC4 I'm using <groupreq> instead tag of <groupid>. The following are the running results: [root@testnode01 tmp]# yum groupinfo 'Example Custom Install' Setting up Group Process Setting up repositories Group: Example Custom Install Required Groups: Example Monitor Utilites Example Original MySQL Example Server Example Log Processing Utilities Example Crawl Example Admin Utilities Example Web Development Example Web [root@testnode01 tmp]# repoquery -l -g 'Example Custom Install' [root@testnode01 tmp]# [root@testnode01 tmp]# repoquery -l -g 'Mail Server' [root@testnode01 tmp]# Oh, it seems that the argument to -g option should ONLY be a single word? Please have a look and see whether there are some errors in my configuration files. Thanks. --- Panu Matilainen <pmatilai@xxxxxxxxxxxxxxx> wrote: > On Wed, 5 Apr 2006, Robinson Tiemuqinke wrote: > > > Panu, > > > > Thanks. you are right, I mis-installed the newer > yum > > version, now I downgraded it to yum upgrade in FC4 > and > > repoquery works. > > > > But if there are any ways to let yum or repoquery > to > > show packages in enclosed groups? That will be > very > > helpful since I can compare packages one by one > > exactly across a bunches of machines: total number > of > > rpms, name, version, release, arch. etc. > > You mean like 'repoquery -l -g core' and have the > queryformat work on that > so it prints info about the actual packages, not > just the names? Hmm, not > possible at the moment, however there's no reason > why it couldn't do > that, just needs a bit of refactoring of the code to > make it possible. > > In the meanwhile you *can* get the information with > "nested" queries, eg > repoquery --qf="%{name}-%{version}" `repoquery -l -g > core` > > - Panu - > _______________________________________________ > Yum mailing list > Yum@xxxxxxxxxxxxxxxxxxxx > https://lists.dulug.duke.edu/mailman/listinfo/yum > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- [custom] name=Fedora Core $releasever - $basearch - Custom #baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/$releasever/$basearch/os/ #mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-core-$releasever baseurl=file:///0/newRpms/ enabled=1 gpgcheck=0 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora -------------- next part -------------- A non-text attachment was scrubbed... Name: customComps.xml Type: text/xml Size: 4602 bytes Desc: 2088412911-customComps.xml Url : http://lists.dulug.duke.edu/pipermail/yum/attachments/20060406/94bc2003/customComps.xml