An administrator installs a local package file with rpm -i, and the package needs a library that is not installed. What happens?
Show the answer
Correct answerA. rpm stops with a failed dependencies error and installs nothing
AWhy this is right: rpm checks dependencies against the installed package database and refuses the install if one is missing.
BWhy not this: rpm does not use repositories; resolving and downloading dependencies is what dnf does.
CWhy not this: rpm keeps no queue for dnf; it simply refuses the install.
DWhy not this: A missing dependency stops the install unless --nodeps is used; it is not just a warning.
rpm only checks the local file against the installed package database and fails with a dependency error if something is missing. dnf resolves and downloads dependencies from configured repositories, including for a local file given as dnf install ./file.rpm. The tempting belief that rpm -i fetches dependencies is wrong.