Bug 2670 - prefix option doesn't work
prefix option doesn't work
Status: CLOSED CURRENTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
6.0
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Erik Troan
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-05-08 16:03 EDT by jmbastia
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-06-01 15:31:40 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description jmbastia 1999-05-08 16:03:59 EDT
When attemption to use the --prefix option with rpm in
RedHat Linux 6.0, it reports that only one prefix option may
be used, even if only one option is used.  For example:

# rpm -ivh --prefix /opt/zip zip-2.1-8.i386.rpm
rpm: only one of --prefix or --relocate may be used
Comment 1 Jeff Johnson 1999-05-09 15:42:59 EDT
You can work around this problem by using --relocate. Assuming
that the package wants to install in /usr and you wish to install
in /opt/zip, the command would be

	rpm -ivh --relocate /usr=/opt/zip zip-2.1.8.i386.rpm
Comment 2 Erik Troan 1999-06-01 15:31:59 EDT
fixed in rpm 3.0.1

Note You need to log in before you can comment on or make changes to this bug.