Hi,

> You are mixing up two things here.
> On one hand, you have the RPM group, which is stored into the package
> and kept inside the RPM database.
> That's what you get when you do e.g.
> rpm -q --queryformat '%{group}\n' kdelibs3

Whoops! Correct.

> On the other hand, you have the "selections" that are displayed by
> YaST2. That thing is totally SUSE/YaST2 specific and is stored outside
> of the RPM database (i.e. RPM knows nothing about those selections).
> The selections are being replaced by "patterns" in 10.2/factory.

> But it's not a full list of all RPM groups used on SUSE Linux, as RPM
> only knows about the packages that are installed on your system.

OK. Thanks for this clarification.

> With a package manager like yum, apt, smart, rug, y2pmsh, yast2, you
> could be able to get a list of all the RPM groups, because they know
> about all the packages that are in repositories, and not only the
> packages that are installed (as it is the case with RPM).

> Actually you can see that it is a very uncommon request and that
> almost no one has ever had a need for such a list, as most tools don't
> provide a way for retrieving it ;)

I can see at least one immediate usage of such a list ;-)
I have a workstation that's daily updated. Sometimes, some packages
become obsolete and aren't provided anymore. However, they may be still
installed on my system. By building the list of packages that are
provided by default by the various Factory selections/patterns installed
on my system, I could make the diffs with the packages currently
installed and quickly locate obsolete packages.

> Now, for the selections (that are obsoleted by patterns in
> 10.2/Factory), it is slightly more difficult.
> Besides the YaST2 UI, there is no way to retrieve the list of
> selections (e.g. from a CLI tool), you'd have to parse the .sel files
> yourself:
> http://ftp.belnet.be/mirror/ftp.opensuse.org/opensuse/distribution/SL-10.1/inst-source/suse/setup/descr/

OK, I'll look at this.

> hope this helps, but I guess it doesn't ;)

Yes, it greatly helps. Thanks a billion.

        Émeric

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to