Just installed Preview 2 (very nice BTW); imagine my surprise when my
attempt to list packages (that is, "pkg list") ended up as "find /
-print".
IMHO, the three commands status, list, and info are the wrong way
around.
Naively I expect 'pkg list' to list packages, 'pkg info' to give
information on packages, and 'pkg status' to give status on packages.
This isn't currently the case. I hope those of you familiar with yum and
rpm will know what I mean here.
I mentioned this on internal IRC and opinion was somewhat split there,
so I thought I'd send an email out to see what a wider audience thinks.
Whilst I don't want this to become a straw man, I would have imagined
things to work something like this:
pkg list [-ainv] [pkg_fmri_pattern]
List all packages matching the FMRI, or all installed packages
by default.
-a show available, but uninstalled packages
-i show installed packages
-n show installed packages with newer versions
pkg info [-msv] [-o attrib] [-s sort] [-t action] [pkg_frmi_pattern]
Like a merge of info and the current 'list'. If -v, then you get
the stuff from 'list'. (-v doesn't seem to do anything right
now)
pkg status
- either goes away, or becomes a simple list of (available,
newer, installed)
regards
john
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss