Hello, 

I am running OpenBSD in a virtualbox because I am taking a deeper look
into it.

I was looking for a list of ports packages and read the man page
pkg_info(1).

That man page it states, 
"When browsing through uninstalled packages, running pkg_info -I *.tgz
will report a summary line for each package [...]"

Note the capital eye 'I'.

It says so in the VMs man page as well as at
https://man.openbsd.org/pkg_info
(All Sections ; All Architectures ; OpenBSD-current)
(Timestamp: approx. Fri 24 Jan 2020 10:05:00 PM UTC)



When I run the command

# pkg_info -I *.tgz

I get the result

Invalid spec: *.tgz
Invalid spec: *.tgz
#
<End of result>

If I run 
# pkg_info -l *.tgz # NOTE the little ell instead of capital eye

I get something that looks like the list the man page describes.
Two columns, first being package name and second being a short
one line description.

If I run
# pkg_info -I

I get the result
pkg_info: Missing package name(s)
Usage: <...>


Searching for "openbsd pkg_info -I" with duckduckgo just presented
the OpenBSD FAQ and Manual Pages and something about a pkg_info -Q bug.

I read the man page's descriptions for options -I and -l and it seems
to me that -I (capital eye) *should* work the way the man page
exemplifies its use or maybe even without an argument. Maybe I am
misinterpreting the descriptions. I do not quite understand why
requesting the list of packages including a short description
works with -l (small ell), which takes a string as an argument.


What other information can I provide to clarify where the problem lies?
(It may be the man page, pkg_info, "layer 8" or a combination of these
three factors.)




# uname -a
OpenBSD <host> 6.6 GENERIC#4 amd64



Thank you for your time,

Andrew Easton


Reply via email to