CLASS="CHAPTER" BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#840084" ALINK="#0000FF" >

Chapter 20. Mini-Guides

Table of Contents
RPM: Redhat Package Management System
Checking the Hard Disk for errors
Duplicating disks
Wildcards

The mini-guides chapter is a section of the document that describes certain concepts in more depth than the usual command descriptions. The information listed is fairly specific as I have tried to avoid the duplication of too much information that is already online.

RPM: Redhat Package Management System

Checking

Installed RPM's

Use the rpm -V option to check whether or not a package has been modified.

For example:

rpm -V textutils

If none of the files from the textutils package have changed then rpm will exit without outputting any data. If, on the other hand, the program has changed, you may see something like this:

U.5....T /bin/cat

This isn't as cryptic as it appears. The line returned from rpm -V contains any number of eight characters plus the full path to the file. Here are the characters and their meaning:[1]

Mandriva Users Note: Mandriva Linux uses a customised version of RPM called urpmi (It consists of the urpm* commands, urpmi to install, urpme to remove and urpmf and urpmq to query).

This customised version has advantages over standard RPM, including automatic-dependency solving and Debian apt-get style functions (ability to download programs over the internet and have all dependencies resolved automatically).

The urpm* commands are all described in detail in Mandriva's documentation and various sources online.

Notes

[1]

Note that the list under section 24.1.2 comes from the RPM manual page, see [11] in the Bibliography for further details.