The installation of your target RPM package will not even start unless all the prerequisites required by the package are available or installable. The steps are similar to:
- Create new to-do list using RPM package names from command line.
- Check prerequisite RPM packages. If any are missing add them to the to-do list.
- Repeat step #2 until all missing packages are identified and are accessible.
- Download all prerequisite RPM packages.
- If all prerequisite RPM packages have been cached do next step. Otherwise error out.
- Install prerequisite RPM packages in reverse order.
- Install the original target RPM package.
Note that all missing RPM packages are downloaded into a cache before any RPM packages begin to be installed.
So, if step #6 is interrupted, some packages may be installed and others not. No problem, rerun the RPM install and the set of already-installed packages will be larger, the number of outstanding packages will be smaller.