Red Hat Bugzilla – Bug 79331
rpm 4.1 does not seem to support --prefix option
Last modified: 2008-05-01 11:38:04 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003
Description of problem:
I have been using Red Hat Linux 7.3 for quiet sometime, and recently upgraded to
8.0. With this distro, Red Hat is distributing new version of rpm 4.1-x, which
is not supporting some of the rpm commands which I am used to. First of all,
the documentation CD with the Red Hat 8.0, does not talk about rpm 4.1 but, 4.0.
There is no place, in the documentation CD, where I could find some info about
latest rpm version with the OS distribution.
The rpm command is simply ignoring the --prefix option.
If I say,
# rpm -Uvh --prefix /usr/local/mine <pkg>.rpm
the package is not installed under /usr/local/mine
It would be great, if you could provide the solution or pointers to the solution.
Thanks in advance.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run command rpm -Uvh --prefix <dir name> <pkg>.rpm
Actual Results: package is not installed under <dir name>
Expected Results: package should have been installed under the specified
directory <dir name>
*** This bug has been marked as a duplicate of 75057 ***