Red Hat Bugzilla – Bug 32377
unlink error on single package install with a --prefix
Last modified: 2013-07-03 09:05:09 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.1-0.1.9 i686)
Attempted installation of Applix 5. Applix's install script failed when
loading the first
package. The command it was attempting was
rpm -Uvh --replacefiles --prefix /opt/applix
The error sent by the rpm command was:
1:shelf-bin-shelf-base error: can't unlink /optapplix-RPMDELETE: Is a
Installation was successfull when the --prefix option was removed from the
command line, even though the package default location was the same as that
specified by --prefix.
Steps to Reproduce:
1. command as shown above (I didn't try it with other packages).
What version of rpm? Try "rpm -q rpm" ...
rpm version 4.0.2-0.38
Using --prefix is the same error as using --relocate.
*** This bug has been marked as a duplicate of 25876 ***