From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 4.0) Description of problem: Install a relocatable package with command: 'rpm -i --prefix /home/lix abcde.rpm' on Red Hat 7.1 Got an error message: 'Error: can't unlink homelix-RPMDELETE: Is a directory.' Install failed. RPM version on rh7.1 is 4.0.2. Use the same command on Red Hat 7.0. Install successfully. RPM version on rh7.0 is 4.0. How reproducible: Always Steps to Reproduce: 1.Find a relocatable package, for example: abcde.rpm 2.Create directory '/home/lix' and give properly priviledge. 3.run 'rpm -i --prefix /home/lix abcde.rpm' on Red Hat 7.1. 4.Error occurs. Actual Results: Error messages: 'Error: can't unlink homelix-RPMDELETE: Is a directory.' Expected Results: Install successfully to directory /home/lix. Additional info:
Yup, relocations were broken in rpm-4.0.2. Try rpm-4.0.3 from Raw Hide, or ftp://ftp.rpm.org/pub/rpm/test-4.0.3