LFCS Exam: RPM Package Installation Verification

RPM Package Installation Verification

Question

When using rpm --verify to check files created during the installation of RPM packages, which of the following information is taken into consideration? (Choose

THREE correct answers.)

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D. E.

ABD

When using the rpm --verify command to verify files installed by RPM packages, it takes into consideration the following information:

A. Timestamps: The --verify option compares the file modification time stored in the RPM database with the actual modification time of the file on disk. If the modification times match, the file is considered to be intact.

B. MD5 checksums: The --verify option compares the MD5 checksums of the files on disk with the ones stored in the RPM database. If the checksums match, the file is considered to be intact.

D. File sizes: The --verify option compares the file sizes of the files on disk with the ones stored in the RPM database. If the sizes match, the file is considered to be intact.

C. Inodes: The --verify option does not consider inodes of the files.

E. GnuPG signatures: The --verify option checks the digital signatures of the RPM packages, but not the GnuPG signatures of the files installed by the packages.

In summary, when using the rpm --verify command to check files created during the installation of RPM packages, it takes into consideration the timestamps, MD5 checksums, and file sizes of the files on disk, and compares them with the ones stored in the RPM database.