Duplicate Grouplist in YUM for FC4

From FedoraNEWS.ORG

Written by Thomas Chung on 2005-06-24

If you run following command with yum in FC4, you'll notice something odd.

[root@tchung-test4 ~]# yum grouplist
Setting up Group Process
Setting up repositories
livna                     100% |=========================|  951 B    00:00
updates-released          100% |=========================|  951 B    00:00
extras                    100% |=========================| 1.1 kB    00:00
base                      100% |=========================| 1.1 kB    00:00
Installed Groups:
   Administration Tools
   Administration Tools
   Authoring and Publishing
   Authoring and Publishing
   Compatibility Arch Support
   DNS Name Server
   DNS Name Server
   Eclipse
   Editors
   Editors
   Engineering and Scientific
   Engineering and Scientific
   GNOME Desktop Environment
   GNOME Desktop Environment
   GNOME Software Development
   GNOME Software Development
   Graphical Internet
   Graphical Internet
   Graphics
   Graphics
   Java Development
   Mail Server
   Mail Server
   Network Servers
   Network Servers
   Office/Productivity
   Office/Productivity
   Printing Support
   Printing Support
   Server Configuration Tools
   Server Configuration Tools
   Sound and Video
   Sound and Video
   System Tools
   System Tools
   Text-based Internet
   Text-based Internet
   X Software Development
   X Software Development
   X Window System
   X Window System
Available Groups:
   Compatibility Arch Development Support
   Development Tools
   Development Tools
   FTP Server
   FTP Server
   Games and Entertainment
   Games and Entertainment
   KDE (K Desktop Environment)
   KDE (K Desktop Environment)
   KDE Software Development
   KDE Software Development
   Language Support
   Legacy Network Server
   Legacy Network Server
   Legacy Software Development
   MySQL Database
   MySQL Database
   News Server
   News Server
   PostgreSQL Database
   PostgreSQL Database
   Web Server
   Web Server
   Windows File Server
   Windows File Server
   XFCE
   XFCE Software Development
Done
[root@tchung-test4 ~]#

It seems to be a duplicate grouplist.

But, they are not really a duplicate grouplist but an additional grouplist from extras repo combines with a grouplist from base repo and it just seems that way.

Here is a quick fix.

[root@tchung-test4 ~]# yum --disablerepo=extras grouplist
Setting up Group Process
Setting up repositories
livna                     100% |=========================|  951 B    00:00
updates-released          100% |=========================|  951 B    00:00
base                      100% |=========================| 1.1 kB    00:00
Installed Groups:
   Administration Tools
   Authoring and Publishing
   Compatibility Arch Support
   DNS Name Server
   Eclipse
   Editors
   Engineering and Scientific
   GNOME Desktop Environment
   GNOME Software Development
   Graphical Internet
   Graphics
   Java Development
   Mail Server
   Network Servers
   Office/Productivity
   Printing Support
   Server Configuration Tools
   Sound and Video
   System Tools
   Text-based Internet
   X Software Development
   X Window System
Available Groups:
   Compatibility Arch Development Support
   Development Tools
   FTP Server
   Games and Entertainment
   KDE (K Desktop Environment)
   KDE Software Development
   Language Support
   Legacy Network Server
   Legacy Software Development
   MySQL Database
   News Server
   PostgreSQL Database
   Web Server
   Windows File Server
Done
[root@tchung-test4 ~]#


Thanks to Seth Vidal (mailto:skvidal@phy.duke.edu), the maintainer of YUM (http://linux.duke.edu/projects/yum/), you can disable grouplist from extras repo by adding "enablegroups=0" in /etc/yum.repos.d/fedora-extras.repo

[extras]
name=Fedora Extras $releasever - $basearch
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/extras/$releasever/$basearch/
mirrorlist=http://fedora.redhat.com/download/mirrors/fedora-extras-$releasever
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-extras
gpgcheck=1
enablegroups=0

He's now aware of this YUM's behavior and he's looking into the issue.

Personal tools