Verifying directory depots

You can use the swverify command to verify the contents of a directory depot. Tape depots are not valid targets for the swverify command.

Depot verification does the following:

Verifies that all dependencies can be met. For more information about dependencies, see Chapter 3: “HP-UX patch overview” (page 17).

Reports missing files.

Checks file attributes, including permissions, file types, size, checksum, mtime, and major and minor attributes.

If a depot fails verification, it might still be usable for your needs. You must read the swverify output to determine the cause and the implications of the failure.

The format of the swverify command is as follows:

swverify -dsoftware_selection @ depot_location

The swverify command has many arguments. For information, consult swverify(1M) and the Software Distributor Administration Guide on the HP Business Support Center website at http:// www.hp.com/go/sd-docs.

This chapter discusses the following command arguments:

-d

Directs the swverify command to operate on a directory depot rather than on software currently installed on the system.

When you use this argument, you must also use the @ depot_location argument to specify the depot.

software_selection

Specifies the software to be verified.

To verify multiple products, replace software_selection with a wildcard. For example:

\* selects everything from the source depot.

\*,c=patch selects all patches from the source depot.

PHXX_12345 selects patch PHXX_12345 from the source depot.

@ depot_location

Specifies the directory depot that contains the software to be verified.

Examples of verifying directory depots

The following example verifies the directory depot /my_depots/new_directory_depot. The verification was successful, as indicated by the output “Verification succeeded”.

For example:

$ swverify -d \* @ /my_depots/new_directory_depot

======= 05/03/04 12:28:51 MDT BEGIN swverify SESSION (non-interactive) (jobid=my_system-0831)

*Session started for user "some_user@my_system".

*Beginning Selection

*Target connection succeeded for

"my_system:/my_depots/new_directory_depot".

*Software selections: PHCO_27780.CMDS-AUX,r=1.0, a=HP-UX_B.11.11_32/64,v=HP,fr=1.0,fa=HP-UX_B.11.11_32/64

*Selection succeeded.

*Beginning Analysis

*Session selections have been saved in the file

Verifying directory depots

73