Exam 101-500 Topic 3 Question 85 Discussion

Actual exam question for Lpi's 101-500 exam
Question #: 85
Topic #: 3
Which of the following commands updates the already installed RPM package rpmname?

Suggested Answer: B Vote an answer

The rpm command is used to install, upgrade, query, verify and remove RPM packages on Linux systems.
The -U option is used to upgrade an existing package to a newer version, or install a package if it does not exist in the RPM database. The -U option is equivalent to -e (erase) followed by -i (install). The other options are not valid for upgrading a package. The -q option is for querying a package, the -e option is for erasing a package, the --force option is for overriding conflicts, and the -u option is not a valid option for the rpm command. References: Using RPM Command to Install, Upgrade and Remove Packages, Linux package management with YUM and RPM

by Veromca at Sep 02, 2026, 03:32 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
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.

0
0
0
10