NetBSD Problem Report #9141
Received: (qmail 5225 invoked from network); 8 Jan 2000 02:50:05 -0000
Message-Id: <200001080249.TAA29637@zoo>
Date: Fri, 7 Jan 2000 19:49:45 -0700 (MST)
From: jbernard@mines.edu
Reply-To: jbernard@mines.edu
To: gnats-bugs@gnats.netbsd.org
Subject: pkg_info -R description inverted
X-Send-Pr-Version: 3.95
>Number: 9141
>Category: pkg
>Synopsis: pkg_info -R description inverted
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: doc-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 07 18:50:59 +0000 2000
>Closed-Date: Sat Jan 08 03:29:23 +0000 2000
>Last-Modified: Sat Jan 08 03:30:08 +0000 2000
>Originator: Jim Bernard
>Release: Jan. 6, 2000
>Organization:
Speaking for myself
>Environment:
System: NetBSD zoo 1.4P NetBSD 1.4P (ZOO) #0: Fri Dec 31 21:09:59 MST 1999 local@zoo:/home/local/compile/sys/arch/i386/compile/ZOO i386
>Description:
The pkg_info(1) man page says:
-R Show which packages are required by each package.
But, in fact, the function of -R is to show which packages
require each package.
>How-To-Repeat:
Read the man page and try it out.
>Fix:
Change to:
-R Show which packages require each package.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: hubertf
State-Changed-When: Fri Jan 7 19:29:23 PST 2000
State-Changed-Why:
The documented behaviour is correct, please see other mail.
- Hubert
From: Hubert Feyrer <feyrer@rfhs8012.fh-regensburg.de>
To: jbernard@mines.edu
Cc: gnats-bugs@gnats.netbsd.org
Subject: Re: pkg/9141: pkg_info -R description inverted
Date: Sat, 8 Jan 2000 04:28:49 +0100 (MET)
On Fri, 7 Jan 2000 jbernard@mines.edu wrote:
> >Description:
> -R Show which packages are required by each package.
>
> But, in fact, the function of -R is to show which packages
> require each package.
>
> >How-To-Repeat:
> Read the man page and try it out.
>
> >Fix:
> Change to:
>
> -R Show which packages require each package.
You're just changing the active and passive part of the dependency here,
the effect is the same. The second package in the documentation refers to
the pkg give on the command line, and the first one(s) are the
ones that are required by each of the packages given on the comand line.
- Hubert
--
NetBSD - Better for your uptime than Viagra
From: Jim Bernard <jbernard@ox.mines.edu>
To: hubert.feyrer@informatik.fh-regensburg.de
Cc: gnats-bugs@gnats.netbsd.org, jbernard@mines.edu
Subject: Re: pkg/9141: pkg_info -R description inverted
Date: Fri, 7 Jan 2000 21:04:14 -0700
On Sat, Jan 08, 2000 at 04:28:49AM +0100, Hubert Feyrer wrote:
> On Fri, 7 Jan 2000 jbernard@mines.edu wrote:
> > >Description:
> > -R Show which packages are required by each package.
> >
> > But, in fact, the function of -R is to show which packages
> > require each package.
> >
> > >How-To-Repeat:
> > Read the man page and try it out.
> >
> > >Fix:
> > Change to:
> >
> > -R Show which packages require each package.
>
> the effect is the same. The second package in the documentation refers to
> the pkg give on the command line, and the first one(s) are the
Right.
> ones that are required by each of the packages given on the comand line.
Not so. If I say, for example:
pkg_info -R ncurses
I'm asking for packages that _require_ ncurses (that is, need ncurses to be
present/installed), not packages _required by_ ncurses (that is, that ncurses
needs to have present/installed). And the response from pkg_info bears that
out:
Information for ncurses-4.2:
Required by:
mutt-1.0i
(That is: mutt-1.0i requires ncurses, not the other way around.)
So, please do make the change, as the present wording really is incorrect.
Thanks.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.