PrepAway - Latest Free Exam Questions & Answers

Which command will allow you to install the updated version of a rpm package?

You see following output while trying to install an updated package:

[root@example pub]# rpm -i gthumb-2.2.0.i386.rpm
package gthumb- 1.0.1.i386.rpm is already installed.

Which command will allow you to install the updated version?

A.
rpm -i gthumb-2.2.0.i386.rpm

B.
rpm -ivh gthumb-2.2.0.i386.rpm

C.
rpm -U gthumb-2.2.0.i3S6.rpm

D.
rpm -qu gthumb-2.2.0.i386.rpm

E.
rpm -qiv gthumb-2.2.0.i386.rpm

Explanation/Reference:
-qu, -qiv would indicate rpm-queries,
-i was already not working
-h is just activating a progress bar
use -U or –upgrade to update a package


Leave a Reply