Which of the following commands will you use to accomplish the task?

You want to verify the PGP signature of all headers and
signatures associated with an RPM package. Which of the
following commands will you use to accomplish the task?
Each correct answer represents a complete solution. Choose all
that apply.

You want to verify the PGP signature of all headers and
signatures associated with an RPM package. Which of the
following commands will you use to accomplish the task?
Each correct answer represents a complete solution. Choose all
that apply.

A.
rpm -K

B.
rpm –checksig

C.
rpm -e

D.
rpm -V

Explanation:
QUERYING AND VERIFYING PACKAGES:

rpm {-q|–query} [select-options] [query-options]
rpm {-V|–verify} [select-options] [verify-options]
rpm –import PUBKEY …
rpm {-K|–checksig} [–nosignature] [–nodigest] PACKAGE_FILE …

INSTALLING, UPGRADING, AND REMOVING PACKAGES:

rpm {-i|–install} [install-options] PACKAGE_FILE …
rpm {-U|–upgrade} [install-options] PACKAGE_FILE …
rpm {-F|–freshen} [install-options] PACKAGE_FILE …

rpm {-e|–erase} [–allmatches] [–nodeps] [–noscripts][–notriggers] [–repackage] [–test] PACKAGE_NAME …



Leave a Reply 0

Your email address will not be published. Required fields are marked *