Bug 71279 - rpm -F --nobuild doesn't work
Summary: rpm -F --nobuild doesn't work
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: rpm
Version: 7.2
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeff Johnson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2002-08-11 20:31 UTC by Stephen Rasku
Modified: 2008-05-01 15:38 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2002-08-11 20:31:44 UTC
Embargoed:


Attachments (Terms of Use)

Description Stephen Rasku 2002-08-11 20:31:40 UTC
Description of Problem:

In the man page for rpm, --nobuild option is listed under the install and
upgrade options as:

    Do not install the package, simply  check  for  and report potential 
    conflicts.

However, it reports an error message if you try and use it.

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

rpm-4.0.4-7x

How Reproducible:

100%


Steps to Reproduce:
1. rpm -Fvh --nobuild XFree86-4.2.0-61.4.i386.rpm

Actual Results:

--nobuild: unknown option

Expected Results:

According to the man page, it should check for conflicts but it shouldn't
install.  However, it looks like this is a documentation problem.  --nobuild
should be replaced by --test in the man page.

Comment 1 Jeff Johnson 2002-08-12 16:57:44 UTC
From the rpm-4.1 man page:
... 
 install-options
        [--allfiles] [--badreloc] [--excludepath OLDPATH]
        [--excludedocs] [--force] [-h,--hash]
        [--ignoresize] [--ignorearch] [--ignoreos]
        [--includedocs] [--justdb] [--nodeps]
        [--nodigest] [--nosignature] [--nosuggest]
        [--noorder] [--noscripts] [--notriggers]
        [--oldpackage] [--percent] [--prefix NEWPATH]
        [--relocate OLDPATH=NEWPATH]
        [--repackage] [--replacefiles] [--replacepkgs]
        [--test]
...
       --test Do not install the package, simply  check  for  and
              report potential conflicts.


...



Comment 2 Stephen Rasku 2002-08-12 20:59:38 UTC
I don't know how fussy you are about your resolutions but this should really be
resolved RAWHIDE since the latest offical rpm version (rpm-4.0.4-7x) is
documented incorrectly.  

Also, rpm 4.1 is not available from the rawhide directory.  It only seems to go
up to m*.  Was there a build problem today?


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