Group Update of packages in RHEL/Fedora Linux

If you have learnt about group installation of packages in RHEL/Fedora Linux, let’s explore on how to update a group of packages. Let’s see if any package in the group “Editors” needs upgradation. For this purpose, we will use the groupupdate option of yum

NOTE: Don’t forget the group name in quotes

# yum groupupdate "Editors"
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Setting up Group Process
Package 2:vim-enhanced-7.3.056-1.fc14.i686 already installed and latest version
No packages in any requested group available to install or update

As you can see that the group “Editors” needed no upgradation

Let’s see group updation of “Administration Tools”

# yum groupupdate "Administration Tools"
Loaded plugins: langpacks, presto, refresh-packagekit
Adding en_US to language list
Setting up Group Process
Package authconfig-gtk-6.1.11-1.fc14.i686 already installed and latest version
Package system-config-lvm-1.1.15-1.fc14.noarch already installed and latest version
Package system-config-firewall-1.2.27-1.fc14.noarch already installed and latest version
Package system-config-keyboard-1.3.1-2.fc14.i686 already installed and latest version
Package system-config-date-1.9.61-1.fc14.noarch already installed and latest version
Package gnome-packagekit-2.32.0-2.fc14.i686 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package system-config-boot.i686 0:0.4.1-2.fc14 set to be installed
---> Package system-config-language.noarch 0:1.3.5-4.fc14 set to be installed
---> Package system-config-network.noarch 0:1.6.2-1.fc14 set to be installed
--> Processing Dependency: system-config-network-tui = 1.6.2-1.fc14 for package: system-config-network-1.6.2-1.fc14.noarch
---> Package system-config-users.noarch 0:1.2.107-1.fc14 set to be updated
--> Running transaction check
---> Package system-config-network-tui.noarch 0:1.6.2-1.fc14 set to be updated
--> Finished Dependency Resolution
....
Install       3 Package(s)
Upgrade       2 Package(s)

Total download size: 2.1 M
Is this ok [y/N]: 

In this example, you can see a number of packages that will be updated and installed.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s