Bug 78730 - rpm --rebuild: unknown option
rpm --rebuild: unknown option
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: rpm (Show other bugs)
8.0
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Jeff Johnson
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-11-28 08:23 EST by Need Real Name
Modified: 2008-05-01 11:38 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-11-28 09:23:36 EST
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 Need Real Name 2002-11-28 08:23:23 EST
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 09:23:28 EST
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.