how do you view the changelog of this file to see if you should install the update?

You have an updated RPM called screensaver-1.1.i386.rpm. You have version 1.0 installed.
Using RPM, how do you view the changelog of this file to see if you should install the update?

You have an updated RPM called screensaver-1.1.i386.rpm. You have version 1.0 installed.
Using RPM, how do you view the changelog of this file to see if you should install the update?

A.
rpm -qp –changelog screensaver-1.1.i386.rpm

B.
rpm –changelog screensaver-1.1.i386.rpm

C.
rpm -qc screensaver-1.1.i386.rpm

D.
rpm -showchangelog screensaver-1.1.i386.rpm

Explanation/Reference:
When you use rpm with a specific rpm-file, you need to specify the -p option, and the query-option to show the changelog is –changelog.
-qc would list the config files of an installed package (not an rpm-file)
–changelog on its own is an invalid option as is -showchangelog



Leave a Reply 0

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