Bug 79331

Summary: rpm 4.1 does not seem to support --prefix option
Product: [Retired] Red Hat Linux Reporter: Rajiv Ganth <rajiv.ganth>
Component: rpmAssignee: Jeff Johnson <jbj>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-12-10 09:13:14 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Rajiv Ganth 2002-12-10 09:13:08 UTC
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):
4.1

How reproducible:
Always

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>

Additional info:

Comment 1 Jeff Johnson 2002-12-10 11:59:14 UTC

*** This bug has been marked as a duplicate of 75057 ***