Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam 101-500 topic 1 question 34 discussion

Actual exam question from LPI's 101-500
Question #: 34
Topic #: 1
[All 101-500 Questions]

Which of the following commands lists the dependencies of the RPM package file foo.rpm?

  • A. rpm -qpR foo.rpm
  • B. rpm -dep foo
  • C. rpm -ld foo.rpm
  • D. rpm -R foo.rpm
  • E. rpm -pD foo
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Iamrandom
Highly Voted 1 year, 6 months ago
Selected Answer: A
answer is correct: -q = query -R = List capabilities on which this package depends (option of query parameter) -p = package file
upvoted 9 times
...
Ninymo
Most Recent 1 month ago
Answer: A
upvoted 1 times
...
slacked4222
5 months ago
The correct answer is A. rpm -qpR foo.rpm. The rpm -qpR foo.rpm command displays the requires information for the RPM package file foo.rpm. This includes the list of dependencies that the package requires in order to be installed and run properly. The other options are incorrect: B. rpm -dep foo: This command displays the provides information for the RPM package file foo.rpm. Provides information indicates what capabilities or services the package provides, not its dependencies. C. rpm -ld foo.rpm: This command displays the list of files that are installed by the RPM package file foo.rpm. It does not provide information about dependencies. D. rpm -R foo.rpm: This command lists the files that are contained within the RPM package file foo.rpm. It does not provide information about dependencies. E. rpm -pD foo: This command displays the pre-install script for the RPM package file foo.rpm. The pre-install script is executed before the package is installed, and it is not related to dependencies.
upvoted 1 times
...
Sarah4
6 months ago
https://rpm-software-management.github.io/rpm/man/rpm.8.html
upvoted 1 times
...
NeoSam999
1 year, 3 months ago
Correct Answer: A rpm -qRp [package.rpm] - show the requirements/dependencies of the indicated rpm file
upvoted 1 times
...
blk_542
1 year, 5 months ago
A is correct: https://phoenixnap.com/kb/rpm-command-in-linux
upvoted 1 times
...
klever
1 year, 6 months ago
Seems like -R on it's own does the job according to man, q does not exist. Man page on -R List capabilities on which this package depends
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...