From Bugzilla Helper: User-Agent: Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0) Description of problem: When I try to install a program in an other directory rpm send me an error How reproducible: Always Steps to Reproduce: 1.rpm -i --prefix /home/installdir program.rpm 2.rpm -i --relocate /opt/installdir=/home/installdir program.rpm 3. Actual Results: * error; can't unlink /homeinstalldir-RPMDELETE: Is a directory * can't rename /homeinstalldir to /homeinstalldir-RPMDELETE: Is a directory * unpacking of archive failed on fila /homeinstalldir: cpio: unlink failed Is a directory. Expected Results: Installed program Additional info: Note that I told rpm that install directory will be /home/installdir and the error told me /homeinstalldir
# rpm -i --relocate /usr/=/usr/local package.i386.rpm file /usrlocal from install of package-1.0-1rh71 conflicts with file from package filesystem-2.0.7-1
Relocations are fixed at ftp://ftp.rpm.org/pub/rpm/test-4.0.3 as well as in recent rpm-4.0.3 packages.