From Bugzilla Helper: User-Agent: Mozilla/4.72 [en] (X11; I; Linux 2.4.4 i586; Nav) Description of problem: In kernel 2.4.2-2 (also 2.4.3-2.14.10 from rawhide), the kernel-source binary RPM does not own the directories /usr/src/linux-2.4.2-2/arch and include (despite owning directories under these). Since it does own the directory /usr/src/linux-2.4.2-2 itself, this causes an error that it cannot delete this directory when removing the RPM. How reproducible: Always Steps to Reproduce: 1. rpm -ivh kernel-source-foo.rpm 2. rpm -e kernel-source Actual Results: [ganesh@urchin ganesh]$ sudo rpm -hiv /archive/redhat/7.1/RedHat/RPMS/kernel-source-2.4.2-2.i386.rpm Password: Preparing... ########################################### [100%] 1:kernel-source ########################################### [100%] [ganesh@urchin ganesh]$ sudo rpm -e kernel-source error: cannot remove /usr/src/linux-2.4.2 - directory not empty Expected Results: the final error message should not happen. Additional info:
Ok.. I found the cause + fixed this for our next build. Thanks for the report!