Bug 78730 - rpm --rebuild: unknown option
Summary: rpm --rebuild: unknown option
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 8.0
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-11-28 13:23 UTC by Need Real Name
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-11-28 14:23:36 UTC
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2002-11-28 13:23:23 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0)

Description of problem:
when try to rebuild drivers or whatever, rpm --rebuild does not work, said 
unknown option

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


How reproducible:
Always

Steps to Reproduce:
1.rpm --rebuild something-version-src.rpm
2.
3.
	

Additional info:

Comment 1 Michael Lee Yohe 2002-11-28 14:23:28 UTC
If you quickly peruse the man pages, you'll notice that if you search for
"--rebuild" - you'll only find the reference "LEGACY ISSUES".  You should be
invoking "rpmbuild" instead of "rpm" - 

Pulled directly from the man page:

LEGACY ISSUES
   Executing rpmbuild
       The  build  modes of rpm are now resident in the /usr/bin/rpmbuild exe-
       cutable. Although legacy compatibility provided  by  the  popt  aliases
       below  has been adequate, the compatibility is not perfect; hence build
       mode compatibility through popt aliases  is  being  removed  from  rpm.
       Install  the rpmbuild package, and see rpmbuild(8) for documentation of
       all the rpm build modes previously documented here in rpm(8).

       Add the following lines to /etc/popt if you wish to  continue  invoking
       rpmbuild from the rpm command line:

       rpm     exec --bp               rpmb -bp
       rpm     exec --bc               rpmb -bc
       rpm     exec --bi               rpmb -bi
       rpm     exec --bl               rpmb -bl
       rpm     exec --ba               rpmb -ba
       rpm     exec --bb               rpmb -bb
       rpm     exec --bs               rpmb -bs
       rpm     exec --tp               rpmb -tp
       rpm     exec --tc               rpmb -tc
       rpm     exec --ti               rpmb -ti
       rpm     exec --tl               rpmb -tl
       rpm     exec --ta               rpmb -ta
       rpm     exec --tb               rpmb -tb
       rpm     exec --ts               rpmb -ts
       rpm     exec --rebuild          rpmb --rebuild
       rpm     exec --recompile        rpmb --recompile
       rpm     exec --clean            rpmb --clean
       rpm     exec --rmsource         rpmb --rmsource
       rpm     exec --rmspec           rpmb --rmspec
       rpm     exec --target           rpmb --target
       rpm     exec --short-circuit    rpmb --short-circuit

This is NOTABUG.


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