installs a new package

Match the rpm options with their functions:
–I a. replaces any older versions of package with the new package

—–Ub. upgrades packages, but only if an earlier version exists on your system
–Fc. Uninstall the specified package
–ed. installs a new package

Match the rpm options with their functions:
–I a. replaces any older versions of package with the new package

—–Ub. upgrades packages, but only if an earlier version exists on your system
–Fc. Uninstall the specified package
–ed. installs a new package

A.
1-d, 2-a, 3-b, 4-c

B.
1-d, 2-b, 3-a, 4-c

C.
1-a, 2-c, 3-b, 4-d

D.
1-a, 2-b, 3-c, 4-d

Explanation:
* (1d) rpm {-i | –install} [install-options] PACKAGE_FILE…
This installs a new package.
* (4c) The general form of an rpm erase command is
rpm {-e | –erase} [–allmatches] [–nodeps] [–noscripts] [–notriggers] [–test] PACKAGE_NAME…
*(2b) rpm {-U | –upgrade} [install-options] PACKAGE_FILE…
This upgrades or installs the package currently installed to a newer version. This is the same as
install, except all other version(s) of the package are removed after the new package is installed.
*(3a) rpm {-F | –freshen} [install-options] PACKAGE_FILE…
This will upgrade packages, but only if an earlier version currently exists.



Leave a Reply 5

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


the tuk-ITE'05 CON-KMITL

the tuk-ITE'05 CON-KMITL

1-d, 2-a, 3-b, 4-c

Ref : man rpm

Djuro

Djuro

Yes A.
B is wrong.

Jef Adams

Jef Adams

rpm {-i|–install} [install-options] PACKAGE_FILE …

rpm {-U|–upgrade} [install-options] PACKAGE_FILE …

rpm {-F|–freshen} [install-options] PACKAGE_FILE …

rpm {-e|–erase} [–allmatches] [–nodeps] [–noscripts][–notriggers] [–test] PACKAGE_NAME …

So correct answer : 1d, 2a, 3b, 4c –> A

Dilliadis

Dilliadis

A is right
because
_____
rpm {-F | –freshen} [install-options] PACKAGE_FILE…

This will upgrade packages, but only if an earlier version currently exists.
_____