Exam 101-500 Topic 3 Question 85 Discussion
Actual exam question for Lpi's 101-500 exam
Question #: 85
Topic #: 3
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
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
0
0
0
10
Comments
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.
Report Comment
Commenting
You can sign-up / login (it's free).