Is there pkg command like 'rpm --upgrade'?

I am using the pkgadd to install the application pkg. I want to know if there is pkg command like 'rpm --upgrade' to upgrade a pkg from verion 1.0 (already installed) to 2.0 (new version) directly.

I am appreciated for your response.

Thanks.

[263 byte] By [Daniceexia] at [2007-11-27 11:03:13]
# 1

Another three questions:

1. Dose Solaris support rpm or some other pkg tools?

2. What installation tools that other enterprise products used on the Solaris, like: Oracle or DB2?

3. Dose Solaris has upgrade version for 5.10, like 5.10.1 or something?

Thank you very much!

Daniceexia at 2007-7-29 12:48:13 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2

Check out sunfreeware.org and blastwave.org There is a pkg-get program that works like apt-get. Not sure about upgrade. I just use the update manager and pkg-get for everything not supplied and updated by sun automagically.

kjard_usa at 2007-7-29 12:48:13 > top of Java-index,Solaris Operating System,Solaris 10 Features...