-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make sure all dependencies for scriptlet are installed before executing them #436
Comments
I don't get the difference between inner and outer dependency loops. To be technically correct: RPM nowadays does not detect dependency loops any more but strongly connected components in the relation graph and we would postpone the scripts after all packages of the component have been installed. I only use "dependency loops" as this is the term most people are familiar with. |
FWIW, in rpm-ostree today we lay out all files before executing scripts. Then we execute all |
when I install dbus-daemon,install dbus-daemon before install shadow.so report useradd and groupadd command not found,and installtion failed. can I add shadow to setup.rpm 'Requires'? or can from rpm to solve this issue |
Right now scriptlets are executed during the installation/removal of the package they are contained in. This is a problem in case of dependency loops as scriptlets are executed while dependencies may not yet be installed. Although the problem is unsolvable in principle delaying the script execution until all files of the loop are put down on disk can make installation more robust and breakage more rare.
The text was updated successfully, but these errors were encountered: