I have the following scenario: - the package "foo" provides /usr/bin/some_file - the package "bar" requires "foo" (Requires: foo) - in bar(%preun) I run /usr/bin/some_file rpm -i foo.rpm bar.rpm # (OK) rpm -e foo # error, foo is required by bar (OK) rpm -e foo bar # I get an error in bar(%preun) stating: # .../usr/bin/some_file file not found... I tried to explicitly force "Requires(preun): /usr/bin/some_file" but this behavior did not change. No matter what I try to put in bar.spec the bar(%preun) script fails because all foo's files are removed prior to running the script. Is this a rpm bug related to asyncronus operations or am I missing something here ? [ I tested on rpm-4.3.1 and rpm-4.4.1. ] Mihai -- This message was scanned for spam and viruses by BitDefender. For more information please visit http://linux.bitdefender.com/ _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list