NAME

updaterpms - LCFG updaterpms component

DESCRIPTION

This component is used to manage the installed RPMs.

ADDITIONAL METHODS

The start and run methods attempt to match the installed RPMs with those listed in the machine's RPM spec file.

The install method is used at install time to install RPMs onto a target root filesystem. This method is called with a parameter specifying the target root filesystem.

USEFUL TIPS

A test run, useful to see which RPMs will be deleted/installed/upgraded, can be called by invoking the run method as follows :-

om updaterpms run -- -t

It is often useful to disable the RPMs update process at boot time, eg for laptops (this has a side effect; see below). To achieve this you should add the following resource definition to the relevant machine's profile source.

!updaterpms.methods mREMOVE(start)

Doing this has the side effect that RPMs which are flagged for processing only at boot time will never be processed. To force processing of these RPMs, the run method should be called as follows :-

om updaterpms run -- -f

RESOURCES

methods

Indicates for which methods RPM processing will be carried out. Possible methods are start and run; the default is both these values.

rpmcfg

The file containing the list of RPMs to be installed on this machine.

rpmpath

The list of directories or HTTP roots, known as the RPM repositories, containing RPMs to be installed. See updaterpms(8) for more details.

flags

Extra flags to be used for updaterpms.

xferdir

Temporary directory for downloading RPMs fetched over HTTP Defaults to /var/tmp

mail

Specifies who should be emailed if the RPM processing fails. Only the last 50 lines of the log are emailed.

translate

If this resource is set, the RPM specifications will be translated from the temporary syntax used for coping with RPMs with the same name but with different architectures, into the normal updaterpms syntax.

PLATFORMS

Fedora3, Fedora5, Fedora6, Scientific5

AUTHOR

Alastair Scobie <ascobie@inf.ed.ac.uk>