Alan Coopersmith wrote:

> The Xorg.0.log currently contains the message:
> 
>         Before reporting problems, check http://sunsolve.sun.com/
>         to make sure that you have the latest version.
> 
> The "http://sunsolve.sun.com/"; is a build time option we set - the
> upstream default points to www.x.org.
> 
> Clearly this hasn't been correct for OpenSolaris ever, and someday
> won't be correct for Solaris either - what would be a good string
> to put there for IPS based systems?
> 
> "check 'pkg list' to make sure that you have the latest version"?
> "check the package manager ..."
> "check with pkg image-update ..."
> 
> something else?

Given that the message is in a log file which likely won't be looked at by
anyone who is uncomfortable with executing a command, I think a variant of
the first is likely the best answer.  I might include the package name,
though.

    pkg list x11/server/xorg

will tell you whether or not the package can be updated, but you have to
know what the "u" off to the right means.  You could say

    pkg list -u x11/server/xorg

but the message you get back when there are no updates available is
somewhat distressing (no packages matching '...' installed).  And you could
do

    pkg list -af x11/server/xorg

but that takes quite a bit longer to execute.  I'd say that "list -u" is
the right one here, once we get the message cleaned up.

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

Reply via email to