Bug 77373 - error message doesn't match options used
Summary: error message doesn't match options used
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 7.3
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-11-05 22:35 UTC by long
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2002-11-05 22:35:54 UTC
Embargoed:


Attachments (Terms of Use)

Description long 2002-11-05 22:35:48 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Description of problem:
command line:
[long@dirk /space/valhalla/RedHat/RPMS]$ rpm --excludepath /etc --force --nodeps
--dbpath /home/long/var/lib/rpm -Uvh --prefix=/home/long rsync-2.5.4-2.i386.rpm 

Output:
rpm: only one of --prefix or --relocate may be used

However, I only used one --prefix option and no --relocate options.


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Just run:  rpm --excludepath /etc --prefix=/home/long
2.
3.
	

Actual Results:  rpm: only one of --prefix or --relocate may be used


Expected Results:  I would expect to receive some kind of error message that
matches the options I actually used.


Additional info:

Comment 1 Jeff Johnson 2002-11-16 15:06:35 UTC
Fixed in rpm-4.2-0.11 when built.


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