On Wed, May 20, 2009 at 08:12:57AM +0100, Padraig O'Briain wrote:

> What is the best way to determine whether a package has updates?

You have to do the equivalent of "install -n" -- construct an imageplan,
and see if there's not nothingtodo().  This should be faster once the SAT
solver is in place, but there's no other good way -- just knowing the
latest version, which is a catalog operation, doesn't tell you whether that
version is installable.

Danek
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to