Joanmarie Diggs wrote:
Hey guys.

I noticed another change in PM as a result of the switch to the list
API: Items have unexpectedly (to me) gone missing from the package list.
For instance, given:

$ pkg list -n SUNWlibatk
NAME (PUBLISHER)                              VERSION         STATE      UFOXI
SUNWlibatk (joanmarie.homeunix.org)           0.5.11-0.127.1  installed  u----
SUNWlibatk (localhost)                        1.29.3-0.127    known      -----
SUNWlibatk                                    0.5.11-0.128    known      u----

I'd expect to be able to view any of the above publishers and see
SUNWlibatk listed amongst the packages for that publisher. Prior to the
switch to the list API, this is the case; post switch (at least with
this patch), SUNWlibatk is not present in the package lists for the
latter two publishers.

-n lists only the "newest" versions of all packages regardless of installed status.

From what I gather, PM now does the equivalent to pkg list -a.

$ pkg list -a SUNWlibatk
NAME (PUBLISHER)                              VERSION         STATE      UFOXI
SUNWlibatk (joanmarie.homeunix.org)           0.5.11-0.127.1  installed  u----

1. Is this the intended/desired behavior for PM now? I'm hoping the
answer is no. But if it is yes:

Yes.

2. Padraig, John, Michal: Could you be persuaded to implement an RFE
which would cause PM to optionally do the equivalent pkg list -n? :-) It
would be nice to not have to bounce between the gui and the cli (or the
web interface for a publisher) just to see what packages *might* be
installable (i.e. after dealing with whatever constraints are preventing
that currently).

This change was intentional. pkg list -a, and the GUI both, no longer list packages that are "not installable". I think it is reasonable to believe that this is the behaviour most users are looking for.

Please read the updated man page description for pkg(1) :)

While the GUI could fairly easily show you the list of "newest" package versions, it cannot show you the "newest, non-installable" package versions with its normal listing, nor do I think it should.

Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to