Product SiteDocumentation Site

Chapter 7. Yum Utils

7.1. yum-updateonboot
7.1.1. Configuration
7.2. yumdownloader
7.3. package-cleanup
7.3.1. Usage Examples
7.4. yum-complete-transaction
7.5. yum-builddep
7.6. yum-NetworkManager-dispatcher
7.7. yum-cron
7.7.1. Start and Stop
7.7.2. Configuration
There are a number of utilities are available in the Fedora package called yum-utils and in some other packages. This section is dedicated to the packages and programs provided therein.
Install them with yum install yum-utils if the program is provided by that package, if not, use yum install with the corresponding program name, package names correspond In all these cases.

7.1. yum-updateonboot

yum-updateonboot is an application provided by a package with the same name that is installed as a service in Fedora and essentially it does yum update after boot. This allows machines that have been off for a considerable time to update immediately rather than wait for the cron job on early morning.

7.1.1. Configuration

/etc/sysconfig/yum-updateonboot
# IF any of these rpms are updated, the yum-updateonboot init script will
# reboot immediately after the yum update.  To keep yum-updateonboot from
# rebooting the system, comment this line out.
#REBOOT_RPMS="kernel kernel-smp"

# A list of groups that should be updated at boot.  For each group mentioned
# yum-updateonboot will call 'yum -y groupupdate'  Since group names tend to
# have spaces in them, used a semi-colon to separate the group names
#GROUPLIST="My Group;MyOtherGroup;Some_Group;My Group 4"

# Be quiet when updating by default
# These options are passed to yum, default value is "-q"
#OPTIONS="-q"
\t\t
Like every service in Fedora, it is disabled by default, and it must be configured to start in the desired run levels.
$ chkconfig yum-updateonboot on
The above command will cause the service to start the next time you boot the system, ie the system will be updated.