From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) Description of problem: I build a package with prefix /opt. I want to install the package into /usr/opt with this command: rpm -i --prefix /usr/opt. >> error: can't unlink /usropt-RPMDELETE: Is a directory error: can't rename /usropt to /usropt-RPMDELETE: Is a directory error: unpacking of archinve failed on file /usropt: cpio: unlink failed - Is a directory. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. build a relocatable package 2. install in other place 3. Additional info:
Yup. Fixed in rpm-4.0.3.