Bug 7452 - --prefix option does not work on rpm
Summary: --prefix option does not work on rpm
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 6.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-11-30 20:20 UTC by gperry
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2000-01-11 17:01:08 UTC


Attachments (Terms of Use)

Description gperry 1999-11-30 20:20:05 UTC
I tried to use the --prefix option to install a relocatable package in
another directory.  When I did this, it told me I could not use --prefix
and --relocate on the same line.  I did not use --relocate, so this is the
bug.  I did use --relocate to work around the problem, but this requires
querying the package to find the default home directory for the package,
and then including this directory on the rpm command line.

Comment 1 Jeff Johnson 2000-01-11 16:33:59 UTC
What version of rpm? I believe this is fixed in rpm-3.0.2 and later.

Comment 2 gperry 2000-01-11 16:47:59 UTC
"rpm --version" tells me it is 3.0.  Since there is a workaround, this is not
critical.  What is the best or easiest way for me to get 3.0.2 of rpm?

Comment 3 Jeff Johnson 2000-01-11 17:01:59 UTC
The latest release rpm-3.0.3 is available from ftp.rpm.org, as are other,
earlier releases. There should also be errata releases of rpm-3.0.2 and
earlier available from any mirror that has Red Hat updates.

There's also rpm-3.0.4 in Raw Hide if you're brave :-)


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